diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-08-04 16:44:18 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-08-04 16:44:18 +0200 |
commit | 140248605cee4a0160f80b47ce77a823be2f740a (patch) | |
tree | 694bf7ce4e06e2577a1113525db7eba1ea32eab9 /testing/vdr/APKBUILD | |
parent | 4291c7de2d59b026cf346e174bf14945cfc617b6 (diff) | |
download | aports-140248605cee4a0160f80b47ce77a823be2f740a.tar.bz2 aports-140248605cee4a0160f80b47ce77a823be2f740a.tar.xz |
testing/vdr: new aport
Diffstat (limited to 'testing/vdr/APKBUILD')
-rw-r--r-- | testing/vdr/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/vdr/APKBUILD b/testing/vdr/APKBUILD new file mode 100644 index 0000000000..3dadd97575 --- /dev/null +++ b/testing/vdr/APKBUILD @@ -0,0 +1,53 @@ +# 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" +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 + rm -f "$pkgdir"/usr/lib/*.la +} + +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" |