3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=bbc5a3a4485ab286e337ce8550e7b990
10 PKG_SOURCE_URL
:=http
://lartc.org
/wondershaper
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,WONDERSHAPER
,wondershaper
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 mkdir
-p
$(PKG_INSTALL_DIR
)
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
)