unfs3 is not parallel build safe
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=nstx
11 PKG_VERSION:=1.1-beta6
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/n/nstx/
16 PKG_MD5SUM:=275abd75a856b07a798b1f2360088cf5
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/nstx/Default
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=allows you to pass IP packets via DNS queries
24 URL:=http://savannah.nongnu.org/projects/nstx/
25 endef
26
27 define Package/nstx
28 $(call Package/nstx/Default)
29 TITLE+= client version
30 endef
31
32 define Package/nstx/description
33 nstx client version
34 endef
35
36 define Package/nstxd
37 $(call Package/nstx/Default)
38 TITLE+= server version
39 endef
40
41 define Package/nstxd/description
42 nstx server version
43 endef
44
45 define Build/Configure
46 endef
47
48 define Build/Compile
49 $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
50 endef
51
52 define Package/nstx/install
53 $(INSTALL_DIR) $(1)/usr/sbin
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxcd $(1)/usr/sbin/
55 endef
56
57 define Package/nstxd/install
58 $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
59 $(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxd $(1)/usr/sbin
60 endef
61
62 $(eval $(call BuildPackage,nstx))
63 $(eval $(call BuildPackage,nstxd))