add missing config file and init script in the package
[openwrt.git] / openwrt / package / wondershaper / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wondershaper
6 PKG_VERSION:=1.1a
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=bbc5a3a4485ab286e337ce8550e7b990
9
10 PKG_SOURCE_URL:=http://lartc.org/wondershaper/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,WONDERSHAPER,wondershaper,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 mkdir -p $(PKG_INSTALL_DIR)
26 touch $@
27
28 $(IPKG_WONDERSHAPER):
29 install -d -m0755 $(IDIR_WONDERSHAPER)/usr/sbin
30 install -d -m0755 $(IDIR_WONDERSHAPER)/etc/init.d
31 cp -fpR $(PKG_BUILD_DIR)/wshaper.htb $(IDIR_WONDERSHAPER)/usr/sbin/wshaper
32 cp -fpR $(PKG_BUILD_DIR)/wshaper.conf $(IDIR_WONDERSHAPER)/etc/wshaper.conf
33 ln -fs /usr/sbin/wshaper $(IDIR_WONDERSHAPER)/etc/init.d/S60wondershaper
34 $(IPKG_BUILD) $(IDIR_WONDERSHAPER) $(PACKAGE_DIR)
35
This page took 0.050945 seconds and 5 git commands to generate.