Update neon to 0.28.2 (#3592)
[openwrt/svn-archive/archive.git] / net / oidentd / Makefile
index 45bf9b4e6eee3377aefdeb046df2390f26ee5fb4..c8b2b62d798e2bf06bb6665bf06673004d20f50a 100644 (file)
@@ -15,7 +15,6 @@ PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/ojnk
 PKG_MD5SUM:=c3d9a56255819ef8904b867284386911
-PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
@@ -25,11 +24,13 @@ define Package/oidentd
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Identd server 
-  DESCRIPTION:=\
-       A nat aware identd server that will correctly forwared requests to clients.
   URL:=http://dev.ojnk.net/
 endef
 
+define Package/oidentd/description
+       A nat aware identd server that will correctly forwared requests to clients.
+endef
+
 # uses GNU configure
 
 define Build/Compile
@@ -37,10 +38,10 @@ define Build/Compile
 endef
 
 define Package/oidentd/install
-       install -d -m0755 $(1)/usr/sbin
-       $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
-       install -d -m0755 $(1)/etc/init.d
-       $(CP) ./files/oidentd.init $(1)/etc/init.d/oidentd
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(CP) $(PKG_BUILD_DIR)/src/oidentd $(1)/usr/sbin/
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/oidentd.init $(1)/etc/init.d/oidentd
 endef
 
 $(eval $(call BuildPackage,oidentd))