Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= xinetd
  5. PKG_VERSION:= 2.3.15
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 77358478fd58efa6366accae99b8b04c
  8. PKG_DESCR:= powerful and secure superserver
  9. PKG_SECTION:= net/misc
  10. PKG_URL:= http://www.xinetd.org/
  11. PKG_SITES:= ftp://mirror.ovh.net/gentoo-distfiles/distfiles/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ENV+= xinetd_cv_type_rlim_t=yes
  16. CONFIGURE_ARGS+= --without-libwrap \
  17. --with-loadavg
  18. ALL_TARGET:= build
  19. TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
  20. TARGET_LDFLAGS+= -ltirpc
  21. xinetd-install:
  22. ${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d ${IDIR_XINETD}/usr/sbin
  23. ${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk