diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2012-12-04 21:27:34 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2012-12-04 21:27:34 +0100 |
commit | 3eeccd6497a256815dec01fa046611a9e6dcd2c9 (patch) | |
tree | c113a38bd460ee4db78fdbf94a7c73d06ffd7c94 /testing/libdvbcsa | |
parent | 7a7541409db0d9d98931fa18fd4a91b5bb422895 (diff) | |
download | aports-3eeccd6497a256815dec01fa046611a9e6dcd2c9.tar.bz2 aports-3eeccd6497a256815dec01fa046611a9e6dcd2c9.tar.xz |
testing/libdvbcsa: new aport
Diffstat (limited to 'testing/libdvbcsa')
-rw-r--r-- | testing/libdvbcsa/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/libdvbcsa/APKBUILD b/testing/libdvbcsa/APKBUILD new file mode 100644 index 000000000..deb48b6e3 --- /dev/null +++ b/testing/libdvbcsa/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=libdvbcsa +pkgver=1.1.0 +pkgrel=0 +pkgdesc="a free implementation of the DVB Common Scrambling Algorithm" +url="http://www.videolan.org/developers/libdvbcsa.html" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://download.videolan.org/pub/videolan/libdvbcsa/$pkgver/libdvbcsa-$pkgver.tar.gz" + +_builddir="$srcdir"/libdvbcsa-$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" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="478ab1ca56ca58d2667da6ce22f74e39 libdvbcsa-1.1.0.tar.gz" |