Update vpnc to 0.4.0, thanks to Swen Kuhnlein
[openwrt/svn-archive/archive.git] / net / scanlogd / Makefile
index 573ff668d3fc4276d0097efff7a4d7ee373b2545..04c0c3a1cd307064d091a456c022cca8457e5511 100644 (file)
@@ -14,8 +14,8 @@ PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.openwall.com/scanlogd/ \
-               ftp://ftp.wiretapped.net/pub/openwall/ \
-               http://distro.ibiblio.org/pub/linux/distributions/openwall/
+       ftp://ftp.wiretapped.net/pub/openwall/ \
+       http://distro.ibiblio.org/pub/linux/distributions/openwall/
 PKG_MD5SUM:=7b8187ea718ebe47f22805b921b909ab
 PKG_CAT:=zcat
 
@@ -56,10 +56,10 @@ define Build/Compile
 endef
 
 define Package/scanlogd/install        
-       install -d -m0755 $(1)/usr/sbin
-       install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
-       install -d -m0755 $(1)/etc/init.d
-       install -m0755 ./files/scanlogd.init $(1)/etc/init.d/scanlogd
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/scanlogd.init $(1)/etc/init.d/scanlogd
 endef
 
 $(eval $(call BuildPackage,scanlogd))