aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vdr-plugin-vnsiserver/APKBUILD
blob: 464e1d907d92985a4920a6557aae6000fa8840fc (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vdr-plugin-vnsiserver
pkgver="1.1.0"
pkgrel=0
pkgdesc="VDR plugin to handle XBMC clients"
url="https://github.com/FernetMenta/vdr-plugin-vnsiserver"
arch="all"
license="GPLv2"
depends=""
depends_dev="vdr-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="vdr-plugin-vnsiserver-${pkgver}.tar.gz::https://github.com/FernetMenta/vdr-plugin-vnsiserver/archive/v${pkgver}.tar.gz
	musl-fix.patch"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR=$pkgdir install || return 1
}

md5sums="b1e9e614c2b5737e1eb125466abd2e07  vdr-plugin-vnsiserver-1.1.0.tar.gz
c31e4e2252eca1ccb760320a3de86a9f  musl-fix.patch"
sha256sums="7fd0210fee1500ea4c9f59c9accc36096ace9c15831e53505318008d54c9ab10  vdr-plugin-vnsiserver-1.1.0.tar.gz
899791e06b69163cd18f212c3069ec98ae416a4d3a1316edc21969b28fd29eb3  musl-fix.patch"
sha512sums="d872b3f1db7dfb5f8616c61bebe278626fc5d01d63fe890013db905226c80035592ff18ea724451eebe704ba7e94894a48207141d11b705ea7722356fef5abbd  vdr-plugin-vnsiserver-1.1.0.tar.gz
dce7f79b485d5c8b80f54b30a62f4e5d72875711836599a6c92fc61b862dc3ae2eb49e2540c9d3e9068c147eeb7d9b381495744597e7be234d28579355e008a7  musl-fix.patch"