1
0

Makefile 772 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= pipacs
  5. PKG_RELEASE:= 2
  6. PKG_DESCR:= an UNIX socket accounting/wiewer program
  7. PKG_SECTION:= net
  8. WRKDIST= ${WRKDIR}/${PKG_NAME}
  9. NO_DISTFILES:= 1
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,PIPACS,${PKG_NAME},${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  12. BUILD_STYLE:= auto
  13. MAKE_FLAGS+= CFLAGS="${TCFLAGS} ${TCPPFLAGS}" \
  14. ${TARGET_CONFIGURE_OPTS}
  15. do-configure:
  16. mkdir -p ${WRKBUILD}
  17. ${CP} ./src/* ${WRKBUILD}
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_PIPACS}/usr/bin
  20. ${INSTALL_BIN} ${WRKBUILD}/pipacs ${IDIR_PIPACS}/usr/bin
  21. include ${TOPDIR}/mk/pkg-bottom.mk