blob: 0e473bc18357a33ddb2c7a6b452650127f6e8d14 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=minissdpd
pkgver=1.5.20190824
pkgrel=0
pkgdesc="MiniSSDP Daemon"
url="http://miniupnp.free.fr/minissdpd.html"
arch="all"
license="BSD"
makedepends="libnfnetlink-dev linux-headers bsd-compat-headers"
subpackages="$pkgname-doc $pkgname-openrc"
source="http://miniupnp.free.fr/files/download.php?file=$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
INSTALLPREFIX=/usr make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make PREFIX="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
}
sha512sums="79a14482b69a88b778e484a3b3e98964c420ff7576ac818ba60fd5e07f5b31754cdef3ee00d9189ba0a33f0268f11acd1f7c4222d8d0958920d1f568ec7755e2 download.php?file=minissdpd-1.5.20190824.tar.gz
66c0822bc9166cd02faf57a58d0f843a85ecf71d3f852829197c8f81bcfd52358a115f2244520ffe50746aa7274d76c30365f927bc1cf5faf47485e91a44805f minissdpd.initd
5ac723cb5b3d3f8bb97989cffb174f22566fcebff304e40f12ca5144cfa94b00614fdf6925e2c5a1dd0f8fa533aac12e991bad0d0909cbdd90a9b7ed73e0c296 minissdpd.confd"
|