binutils: update to 2.43.1
[openadk.git] / package / xinetd / Makefile
blob0829f4bd806c9a6f54e06e4986a014c26b476fde
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= xinetd
7 PKG_VERSION:= 2.3.15
8 PKG_RELEASE:= 1
9 PKG_HASH:= bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
10 PKG_DESCR:= powerful and secure superserver
11 PKG_SECTION:= net/misc
12 PKG_URL:= http://www.xinetd.org/
13 PKG_SITES:= ftp://mirror.ovh.net/gentoo-distfiles/distfiles/
15 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
17 include $(ADK_TOPDIR)/mk/package.mk
19 $(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIGURE_ENV+= xinetd_cv_type_rlim_t=yes
22 CONFIGURE_ARGS+= --without-libwrap \
23 --with-loadavg
24 ALL_TARGET:= build
25 TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc
26 TARGET_LDFLAGS+= -ltirpc
28 xinetd-install:
29 ${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d ${IDIR_XINETD}/usr/sbin
30 ${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
31 ${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk