aboutsummaryrefslogtreecommitdiffstats
path: root/testing/minissdpd/APKBUILD
blob: 3eb536fe15eb3f8f791ca755f3316ac9810dc75e (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=minissdpd
pkgver=1.5.20160301
pkgrel=0
pkgdesc="MiniSSDP Daemon"
url="http://miniupnp.free.fr/minissdpd.html"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev libnfnetlink-dev linux-headers bsd-compat-headers"
install=""
subpackages="$pkgname-doc"
source="http://miniupnp.free.fr/files/download.php?file=$pkgname-$pkgver.tar.gz
	minissdpd-1.2-remove-initd.patch
	$pkgname.initd
	$pkgname.confd"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	INSTALLPREFIX=/usr make || return 1
}

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
}

md5sums="3ca1fbf14ee11ebbddf9ace87f51f325  download.php?file=minissdpd-1.5.20160301.tar.gz
ab5cb0b3b269bc30bbc8f8d1b9f631af  minissdpd-1.2-remove-initd.patch
05ae1c73ac964936fb394d76819132c3  minissdpd.initd
9d0ceb5535561a9b28421a49dfc1732c  minissdpd.confd"
sha256sums="9ba6f87264898b9953f0e808a6ba6c6bdd38f4b47fe6d8e5dee2c92296657114  download.php?file=minissdpd-1.5.20160301.tar.gz
c64c8a62d4c8ccab7e6bd8016ff458698d257d7227c902b9c75dcf27a12364ac  minissdpd-1.2-remove-initd.patch
e74fdd45c728834f5e4517750da3616f35207846389ae25149c431cf228527b1  minissdpd.initd
5a31743b20198ce596a09c73abd45b747e2d087de688cd4f954626bdd1574fc6  minissdpd.confd"
sha512sums="b8dbfa7ce05fc006c09378fe53fb3345cd8d4aad486ba0bd4adb4d7f5d662e34ba04d82ad48bdc721eca1a7d1d083a9f42be69c5d1086223a0e8803068c15426  download.php?file=minissdpd-1.5.20160301.tar.gz
20306ae9870659c9d5c07643f3d95ce56961a57a119d3f15b6aa6ef4ad6ab4c8f32bff9d11af3445f1c94fc9b628faf0a9c9b7e1fb1924f5bd20697bc39d438f  minissdpd-1.2-remove-initd.patch
66c0822bc9166cd02faf57a58d0f843a85ecf71d3f852829197c8f81bcfd52358a115f2244520ffe50746aa7274d76c30365f927bc1cf5faf47485e91a44805f  minissdpd.initd
5ac723cb5b3d3f8bb97989cffb174f22566fcebff304e40f12ca5144cfa94b00614fdf6925e2c5a1dd0f8fa533aac12e991bad0d0909cbdd90a9b7ed73e0c296  minissdpd.confd"