Update ctorrent to dnh3 (#1587)
[openwrt/svn-archive/archive.git] / net / ctorrent / Makefile
index 5f1028f..527c4a4 100644 (file)
@@ -9,15 +9,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ctorrent
-PKG_VERSION:=1.3.4-dnh2
+PKG_VERSION:=1.3.4-dnh3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.rahul.net/dholmes/ctorrent/
-PKG_MD5SUM:=6635e2d0d0ee21faeb85d95cd93c137b
+PKG_MD5SUM:=ebed47837b071ca35b78bc26f2229c03
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-dnh2
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-dnh3
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -50,7 +50,7 @@ define Build/Compile
 endef
        
 define Package/ctorrent/install        
-       install -d -m0755 $(1)/usr/bin
+       $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/ctorrent $(1)/usr/bin/
 endef