remove PKG_CAT from packages
[openwrt/svn-archive/archive.git] / net / nstx / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=nstx
12 PKG_VERSION:=1.1-beta6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
16 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/n/nstx/
17 PKG_MD5SUM:=275abd75a856b07a798b1f2360088cf5
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/nstx/Default
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=allows you to pass IP packets via DNS queries
27 URL:=http://savannah.nongnu.org/projects/nstx/
28 endef
29
30 define Package/nstx
31 $(call Package/nstx/Default)
32 TITLE+= client version
33 endef
34
35 define Package/nstx/description
36 nstx client version
37 endef
38
39 define Package/nstxd
40 $(call Package/nstx/Default)
41 TITLE+= server version
42 endef
43
44 define Package/nstxd/description
45 nstx server version
46 endef
47
48 define Build/Configure
49 endef
50
51 define Build/Compile
52 $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
53 endef
54
55 define Package/nstx/install
56 $(INSTALL_DIR) $(1)/usr/sbin
57 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxcd $(1)/usr/sbin/
58 endef
59
60 define Package/nstxd/install
61 $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
62 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxd $(1)/usr/sbin
63 endef
64
65 $(eval $(call BuildPackage,nstx))
66 $(eval $(call BuildPackage,nstxd))