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
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=A powerful and secure super-server
29 URL
:=http
://www.xinetd.org
/
32 define Package
/xinetd
/conffiles
36 define Build
/Configure
37 $(call Build
/Configure
/Default
, \
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 DESTDIR
="$(PKG_INSTALL_DIR)" \
49 define Package
/xinetd
/install
50 install -d
-m0755
$(1)/usr
/sbin
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xinetd
$(1)/usr
/sbin
/
52 install -d
-m0755
$(1)/etc
53 install -m0644 .
/files
/xinetd.conf
$(1)/etc
/xinetd.conf
54 install -d
-m0755
$(1)/etc
/xinetd.d
55 install -d
-m0755
$(1)/etc
/init.d
56 install -m0755 .
/files
/xinetd.init
$(1)/etc
/init.d
/xinetd
59 $(eval
$(call BuildPackage
,xinetd
))