[Packages] multimedia/palantir: Update to 2.7 (#3314)
[openwrt/svn-archive/archive.git] / net / ipcad / Makefile
index 159b0f5a70fad18994890c4e14a0f4ece4e4935b..55a4e9fcb56f65c8d479532c854e3c0c4fb9a212 100644 (file)
@@ -15,7 +15,6 @@ PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/ipcad
 PKG_MD5SUM:=34c542c99593dfe9d5b408deffcfe70e
-PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@@ -27,13 +26,15 @@ define Package/ipcad
   CATEGORY:=Network
   DEPENDS:=+libpcap
   TITLE:=listens for traffic on the specified interfaces
-  DESCRIPTION:=\
-       This daemon listens for traffic on the specified interfaces.\\\
-       It has the built-in RSH and NetFlow engines to allow exporting \\\
-       the accounting data the same way as Cisco routers do.
   URL:=http://lionet.info/ipcad/
 endef
 
+define Package/ipcad/description
+       This daemon listens for traffic on the specified interfaces.
+       It has the built-in RSH and NetFlow engines to allow exporting 
+       the accounting data the same way as Cisco routers do.
+endef
+
 define Package/ipcad/conffiles/
 /etc/ipcad.conf
 endef
@@ -62,10 +63,10 @@ define Build/Compile
 endef
 
 define Package/ipcad/install   
-       install -d -m0755 $(1)/etc
+       $(INSTALL_DIR) $(1)/etc
        $(CP) $(PKG_INSTALL_DIR)/etc/ipcad.conf $(1)/etc/
-       install -d -m0755 $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/ipcad $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ipcad $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,ipcad))