Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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:= xinetd
  5. PKG_VERSION:= 2.3.15
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 77358478fd58efa6366accae99b8b04c
  8. PKG_DESCR:= a 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. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_ENV+= xinetd_cv_type_rlim_t=yes
  15. CONFIGURE_ARGS+= --without-libwrap \
  16. --with-loadavg
  17. ALL_TARGET:= build
  18. TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
  19. TARGET_LDFLAGS+= -ltirpc
  20. xinetd-install:
  21. ${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d ${IDIR_XINETD}/usr/sbin
  22. ${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk