reorder patches to fix php4 build
[openwrt/svn-archive/archive.git] / admin / syslog-ng / Makefile
index 723c3de5878f39cd2a784d5f827d754f5da864f1..9daeede7d2c721d06a47ccb05a21efcf91842f4a 100644 (file)
@@ -52,12 +52,12 @@ $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
 endef
 
 define Package/syslog-ng/install       
-       install -d -m0755 $(1)/usr/sbin
+       $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/syslog-ng $(1)/usr/sbin/
-       install -d -m0755 $(1)/etc/init.d
-       install -m0755 ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
-       install -d -m0755 $(1)/etc/syslog-ng
-       install -m0644 ./files/syslog-ng.conf $(1)/etc/syslog-ng/
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
+       $(INSTALL_DIR) $(1)/etc/syslog-ng
+       $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc/syslog-ng/
 endef
 
 $(eval $(call BuildPackage,syslog-ng))