Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:= tcp_wrappers
  5. PKG_VERSION:= 7.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e6fa25f71226d090f34de3f6b122fb5a
  8. PKG_DESCR:= IP based access control
  9. PKG_SECTION:= libs
  10. PKG_URL:= ftp://ftp.porcupine.org/pub/security/index.html
  11. PKG_SITES:= ftp://ftp.porcupine.org/pub/security/
  12. PKG_NOPARALLEL:= 1
  13. PKG_LIBNAME:= libwrap
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBWRAP,libwrap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIG_STYLE:= manual
  20. INSTALL_STYLE:= manual
  21. ALL_TARGET:= tidy all
  22. MAKE_FLAGS+= OPT_CFLAGS="${TARGET_CFLAGS}" \
  23. CC="${TARGET_CC}" \
  24. NETGROUP= \
  25. VSYSLOG= \
  26. BUGS= \
  27. EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DHAVE_STRERROR \
  28. -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 \
  29. -Dss_family=__ss_family -Dss_len=__ss_len" \
  30. FACILITY=LOG_DAEMON \
  31. SEVERITY=LOG_INFO \
  32. REAL_DAEMON_DIR=/usr/sbin \
  33. STYLE="-DPROCESS_OPTIONS" \
  34. do-install:
  35. ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr/lib
  36. ${CP} ${WRKBUILD}/shared/libwrap.so* ${IDIR_LIBWRAP}/usr/lib/
  37. ${INSTALL_DIR} ${WRKINST}/usr/lib ${WRKINST}/usr/include
  38. ${CP} ${WRKBUILD}/tcpd.h ${WRKINST}/usr/include
  39. ${CP} ${WRKBUILD}/shared/libwrap.so* ${WRKINST}/usr/lib
  40. include ${TOPDIR}/mk/pkg-bottom.mk