source: freewrt/package/wondershaper/Makefile@ 6fd6093

freewrt_1_0 freewrt_2_0
Last change on this file since 6fd6093 was 6fd6093, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

add a startup script

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2346 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= wondershaper
10PKG_VERSION:= 1.1a
11PKG_RELEASE:= 2
12PKG_MD5SUM:= bbc5a3a4485ab286e337ce8550e7b990
13PKG_INIT:= 80
14PKG_SOURCE_URL:= http://lartc.org/wondershaper/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,WONDERSHAPER,wondershaper,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 mkdir -p $(WRKINST)
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) $(WRKBUILD)/wshaper.htb $(IDIR_WONDERSHAPER)/usr/sbin/wshaper
32 $(CP) $(WRKBUILD)/wshaper.conf $(IDIR_WONDERSHAPER)/etc/wshaper.conf
33 $(INSTALL_BIN) ./files/wondershaper.init \
34 $(IDIR_WONDERSHAPER)/etc/init.d/S$(PKG_INIT)wondershaper
35 $(IPKG_BUILD) $(IDIR_WONDERSHAPER) $(PACKAGE_DIR)
36
Note: See TracBrowser for help on using the repository browser.