aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vdr/APKBUILD
blob: 9fde5bd98b0859d84ce422d723b6b0a5fb569dea (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
47
48
49
50
51
52
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vdr
pkgver=2.1.6
pkgrel=0
pkgdesc="Video Disk Recorde"
url="http://www.tvdr.de/"
arch="all"
license="GPL2"
depends=""
depends_dev="fontconfig-dev freetype-dev gettext-dev libjpeg-turbo-dev
	fribidi-dev libcap-dev"
makedepends="$depends_dev perl coreutils"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://projects.vdr-developer.org/git/vdr.git/snapshot/vdr-2.1.6.tar.bz2
	musl-compat.patch
	Make.config"

_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"
	cp $srcdir/Make.config \
		$_builddir || return 1
	make || return 1
}

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

md5sums="e3cd52a7ab117806f84f33189b67d10f  vdr-2.1.6.tar.bz2
05df0b4253c6e0067ef595f8216031aa  musl-compat.patch
4e51eaaa7d091e1ae940e6d91e889993  Make.config"
sha256sums="39a66e7c40ef2d7618b5b832cb7f7db99e0497cb0e58e6b825ba5f63360c6c4f  vdr-2.1.6.tar.bz2
e45a56f50aaac978efad1cec2de39f14cabeb0b95b84d7cec5016e18a574cda5  musl-compat.patch
7bac17fbdb590bc4d751f367f9ad35581c7f2367ae9531ee69b3e378dafbace7  Make.config"
sha512sums="7896d5d05fbcc1435a86e584cc49e95ff56486462299cb21765ddedcec32b6bbc46aea7080ee5ad714ff82fcbf7ccd1ea5c527b07a9892192ce0d23de10936eb  vdr-2.1.6.tar.bz2
02d4872edc7c934735e44e1af6a4a9fabc2de9d1bef301c1407f7b4533c8e8c5f7fe4fc7319669ba6bf7483daa0c9a4f0489024c15ab7ed2949e04dc11a25da8  musl-compat.patch
bdf9cfd7dbf30efec5dc0421b15960c779deef0fe4ba975a608d1bec41c79caa9dd3fc8a0c9863df137cacc0222f7a881a7c1870f99528ba46efaed18358103b  Make.config"