2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.xinetd.org
/
17 PKG_MD5SUM
:=4295b5fe12350f09b5892b363348ac8b
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=A powerful and secure super-server
28 URL
:=http
://www.xinetd.org
/
31 define Package
/xinetd
/conffiles
35 define Build
/Configure
36 $(call Build
/Configure
/Default
, \
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 DESTDIR
="$(PKG_INSTALL_DIR)" \
48 define Package
/xinetd
/install
49 $(INSTALL_DIR
) $(1)/usr
/sbin
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xinetd
$(1)/usr
/sbin
/
51 $(INSTALL_DIR
) $(1)/etc
52 $(INSTALL_DATA
) .
/files
/xinetd.conf
$(1)/etc
/xinetd.conf
53 $(INSTALL_DIR
) $(1)/etc
/xinetd.d
54 $(INSTALL_DIR
) $(1)/etc
/init.d
55 $(INSTALL_BIN
) .
/files
/xinetd.init
$(1)/etc
/init.d
/xinetd
58 $(eval
$(call BuildPackage
,xinetd
))