aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/vdr-plugin-satip/APKBUILD
blob: a6aabace4e0f674bb04c1e39a3216f33ce7690ae (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: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vdr-plugin-satip
pkgver=0.3.3
pkgrel=0
pkgdesc="SAT>IP plugin for VDR"
url="http://www.saunalahti.fi/~rahrenbe/vdr/satip/"
arch="all"
license="GPL"
depends=""
depends_dev="tinyxml-dev curl-dev vdr-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-lang"
source="http://www.saunalahti.fi/~rahrenbe/vdr/satip/files/vdr-satip-$pkgver.tgz
	include-ctype-header.patch"

_builddir="$srcdir"/satip-$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"
	#pugixml has pic issues
	export SATIP_USE_TINYXML=1
	make || return 1
}

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

md5sums="2f149747a512b47d32279dae0b6d3c75  vdr-satip-0.3.3.tgz
a99d9d1d2e9ed2c5bbe0c7a35626a556  include-ctype-header.patch"
sha256sums="10fff3a660ea57344c0c84d8e743aa5e23e653149c03621358a0d18a12eefd88  vdr-satip-0.3.3.tgz
f900cd6eecdeb4a59d8bdb0165a27f6aa068a5cc53f941ad7f0724a751dedf53  include-ctype-header.patch"
sha512sums="9851c635351746a85047e788a7522526f49a971cc009e7ff8f9c2648ccec60999d6336a6ce60b57ff480abcace9551ef5d4a855253c1647064670620c105aeaa  vdr-satip-0.3.3.tgz
56a6beef683248508cf571db8dc541ff09ae2a96e628ae0ecf0cb263c269a0d94eb2b0e107a331ca5e185205298b26e5a41eecfe27caca92ae4e178639165254  include-ctype-header.patch"