rename qos_scripts to qos-scripts in the makefiles (#823)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 8 Oct 2006 18:55:34 +0000 (18:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 8 Oct 2006 18:55:34 +0000 (18:55 +0000)
SVN-Revision: 4967

openwrt/package/qos-scripts/Makefile
openwrt/package/qos-scripts/ipkg/qos-scripts.control [new file with mode: 0644]
openwrt/package/qos-scripts/ipkg/qos_scripts.control [deleted file]

index 2f1dfe8e04e55cd98f5e04515e1f8e4c26bae9b9..708357a38002f1211081a047a6e7729c4e8357d1 100644 (file)
@@ -2,7 +2,7 @@
 
 include $(TOPDIR)/rules.mk
 
-PKG_NAME := qos_scripts
+PKG_NAME := qos-scripts
 PKG_RELEASE := 1
 PKG_VERSION := 0.9.2
 
@@ -13,15 +13,14 @@ include $(TOPDIR)/package/rules.mk
 $(eval $(call PKG_template,QOS_SCRIPTS,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 $(PKG_BUILD_DIR)/.prepared:
-       mkdir -p $@
+       mkdir -p $(PKG_BUILD_DIR)
        touch $@
 
 $(PKG_BUILD_DIR)/.built:
-       cp -a ./files $(PKG_BUILD_DIR)/qos_scripts
        touch $@
 
 $(IPKG_QOS_SCRIPTS): 
-       chmod -R 755 $(PKG_BUILD_DIR)/qos_scripts/
-       cp -a $(PKG_BUILD_DIR)/qos_scripts/* $(IDIR_QOS_SCRIPTS)/
+       mkdir -p $(IDIR_QOS_SCRIPTS)
+       $(CP) ./* $(IDIR_QOS_SCRIPTS)/
        $(IPKG_BUILD) $(IDIR_QOS_SCRIPTS) $(PACKAGE_DIR)
 
diff --git a/openwrt/package/qos-scripts/ipkg/qos-scripts.control b/openwrt/package/qos-scripts/ipkg/qos-scripts.control
new file mode 100644 (file)
index 0000000..492b35b
--- /dev/null
@@ -0,0 +1,6 @@
+Package: qos-scripts
+Maintainer: Felix Fietkau <nbd@openwrt.org>
+Section: net
+Depends: tc, kmod-sched, iptables-mod-filter, iptables-mod-ipopt, iptables-mod-extra, iptables-mod-conntrack, iptables-mod-imq
+Priority: normal
+Description: QoS scripts for OpenWrt
diff --git a/openwrt/package/qos-scripts/ipkg/qos_scripts.control b/openwrt/package/qos-scripts/ipkg/qos_scripts.control
deleted file mode 100644 (file)
index 492b35b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: qos-scripts
-Maintainer: Felix Fietkau <nbd@openwrt.org>
-Section: net
-Depends: tc, kmod-sched, iptables-mod-filter, iptables-mod-ipopt, iptables-mod-extra, iptables-mod-conntrack, iptables-mod-imq
-Priority: normal
-Description: QoS scripts for OpenWrt