aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vdr-plugin-dvbapi/APKBUILD
blob: d4acb1fe9df6159049ad7de32e05d6c7a1c27d5f (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vdr-plugin-dvbapi
pkgver=2.1.0
pkgrel=0
pkgdesc="VDR dvbapi plugin for use with OSCam"
url="https://github.com/manio/vdr-plugin-dvbapi"
arch="all"
license="GPL"
depends=""
depends_dev="vdr-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-lang"
source="vdr-plugin-dvbapi.tar.gz::https://github.com/manio/vdr-plugin-dvbapi/archive/v${pkgver}.tar.gz"

_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="68138fd2b405397ea47c773f0e8cd23b  vdr-plugin-dvbapi.tar.gz"
sha256sums="9c9a1afb1558ca03437df4ee108893c7beb026d81f96fb8f0eb3b8b95b9429d3  vdr-plugin-dvbapi.tar.gz"
sha512sums="2bb7a1a80dac691a189d575571a19694471c8dba4be31fe75fd10dcf6a8faecb0cc291531e03c0d43684db3384740e1db64bb13f9eaa6c5f482d8553f9c3da49  vdr-plugin-dvbapi.tar.gz"