blob: 245e4d85a25a35d1214b3ddc58e1852f5346a851 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Nico de Haer <nico.dehaer@gmail.com>
# Maintainer: Nico de Haer <nico.dehaer@gmail.com>
pkgname=pimd-dense
pkgver=2.1.0
pkgrel=0
pkgdesc="PIM-DENSE Multicast Routing for UNIX"
url="https://github.com/troglobit/pimd-dense"
arch="all"
license="custom"
makedepends="linux-headers"
subpackages="$pkgname-doc $pkgname-openrc"
options="!spdx !check" # requires intricate setup with tshark/unshare
source="
https://github.com/troglobit/pimd-dense/releases/download/$pkgver/pimd-dense-$pkgver.tar.gz
pimd-dense.initd
pimd-dense.confd
"
build() {
./configure \
--host=$CHOST \
--build=$CBUILD \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname
install -m644 -D "$builddir"/pimdd.conf \
"$pkgdir"/etc/pimdd.conf
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
install -Dm644 doc/LICENSE.mrouted \
"$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE.mrouted
install -Dm644 doc/LICENSE.pimd \
"$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE.pimd
}
sha512sums="
1963c88f49e766b456aeb1d649c65f5209bbb901ed4fb8293ec8a347882c754d2742a6147023c3592d835df88cbedee20593ca1c52a1d350b71d69d21d5d74ec pimd-dense-2.1.0.tar.gz
9d77336c50062dfdd553ee474a16d40ffe2a07d6141a48ef3725c0afe2b974f430adcdb9cbe2723f8a67f0b16747264094b537327acd47cc6dbaa7acdf7fff92 pimd-dense.initd
078b78e46379c0225791a081534622493561a2ed07388d0a93c7517d5166e33c0594ebb7bf75a600aecb36635b33984fadd81c85cb06d7bd0862772131d82367 pimd-dense.confd
"
|