1 # Maintainer: kfgz <kfgz at interia dot pl>
2 # Contributor: Catalin Stoian <unixlust[at]unixlust.ath.cx>
7 pkgdesc="a tool to help simplify the difficult process of bandwidth allocation"
10 url="http://htb-tools.skydevel.ro/"
11 backup=('etc/htb/eth0-qos.cfg')
13 #source=(http://htb-tools.skydevel.ro/HTB-tools-${pkgver}.tar.gz
14 source=(http://kfgz.mydevil.net/HTB-tools-${pkgver}.tar.gz
15 http://unixlust.googlepages.com/bitops.h)
16 md5sums=('21ab90029ae491b05d5fa45eabaa1a4e'
17 '962daca65477787ec8fd8c805aca0c70')
20 cd "${srcdir}"/HTB-tools-${pkgver}
21 mkdir -p "${srcdir}"/HTB-tools-${pkgver}/include/asm
22 install -m644 "${srcdir}"/bitops.h "${srcdir}"/HTB-tools-${pkgver}/include/asm/bitops.h
27 cd "${srcdir}"/HTB-tools-${pkgver}
28 install -dm755 "${pkgdir}"/{sbin,/usr/share/{doc/htb,man/man8},etc/{rc.d,htb}}
29 install -m644 cfg/eth0-qos.cfg "${pkgdir}"/etc/htb
30 install -m644 docs/HowTo/HTB-tools-howto.txt "${pkgdir}"/usr/share/doc/htb
31 install -m644 INSTALL "${pkgdir}"/usr/share/doc/htb
32 install -m755 sys/scripts/rc.htb "${pkgdir}"/etc/rc.d/htbd
33 make OUT_DIR="${pkgdir}"/sbin MAN_DIR="${pkgdir}"/usr/share/man install