point ntpd at the proper location of nlist.h
[openwrt/svn-archive/archive.git] / net / netstat-nat / Makefile
index 9b072201453232b10c27e4a4c90cc3ad090201f1..76d8ca71b4d858878afdcb8da156ce22b9f8a590 100644 (file)
@@ -15,7 +15,6 @@ PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://tweegy.demon.nl/download/
 PKG_MD5SUM:=ccf71a6cbd9a513ea3adec54b54ee770
-PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@@ -26,15 +25,17 @@ define Package/netstat-nat
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A netstat variant for NAT connections
-  DESCRIPTION:=\
-       Netstat-nat is a small program written in C.\\\
-       It displays NAT connections, managed by netfilter/iptables which comes \\\
-       with the > 2.4.x linux kernels.\\\
-       The program reads its information from '/proc/net/ip_conntrack', which \\\
-       is the temporary conntrack-storage of netfilter.
   URL:=http://tweegy.demon.nl/projects/netstat-nat/
 endef
 
+define Package/netstat-nat/description
+       Netstat-nat is a small program written in C.
+       It displays NAT connections, managed by netfilter/iptables which comes 
+       with the > 2.4.x linux kernels.
+       The program reads its information from '/proc/net/ip_conntrack', which 
+       is the temporary conntrack-storage of netfilter.
+endef
+
 # uses GNU configure
 
 define Build/Compile   
@@ -45,7 +46,7 @@ endef
 
 define Package/netstat-nat/install     
        $(INSTALL_DIR) $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/netstat-nat $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/netstat-nat $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,netstat-nat))