summaryrefslogtreecommitdiffstats
path: root/main/iproute2-qos/APKBUILD
blob: bb0b27a6f3f6137eb2bb2f4a58e3ab1eb0a93ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Ilya Strelkin <iilluzion@gmail.com>
# Maintainer: Ilya Strelkin <iilluzion@gmail.com>
pkgname=iproute2-qos
pkgver=0.3
pkgrel=0
pkgdesc="Scripts to set up quality of service with iproute2"
url="http://git.alpinelinux.org/cgit/aports"
license="GPL"
depends="iproute2"
makedepends=""
source="qos.initd qos.eth0.sample qos.ifb0.sample setup-qos"

build() {
	install -m755 -D "$srcdir"/setup-qos "$pkgdir"/usr/sbin/setup-qos
	install -m755 -D "$srcdir"/qos.initd "$pkgdir"/etc/init.d/qos
	install -m644 -D "$srcdir"/qos.eth0.sample \
		"$pkgdir"/etc/conf.d/qos.eth0.sample
	install -m644 -D "$srcdir"/qos.ifb0.sample \
		"$pkgdir"/etc/conf.d/qos.ifb0.sample
}

md5sums="dda96b445c6e4fe377e918f860825fb1  qos.initd
79cecb47b3d1f623d2f6790044b3afee  qos.eth0.sample
9f8d3514081624ea2ad2606c1564c759  qos.ifb0.sample
785aff5d4284c47038a009797c576e34  setup-qos"