diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-27 10:20:46 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-27 10:20:46 +0000 |
commit | ba530ff5677e88669daeb5ee15965c4e57f21c55 (patch) | |
tree | c3f4016a99d43479fc6137e7157133969b740e97 /main/libdvbcsa | |
parent | 3f7c4a9bd7b19c08bc2be8e68dc8cdd6d6ff3519 (diff) | |
download | aports-ba530ff5677e88669daeb5ee15965c4e57f21c55.tar.bz2 aports-ba530ff5677e88669daeb5ee15965c4e57f21c55.tar.xz |
testing/libdvbcsa: move to main
Diffstat (limited to 'main/libdvbcsa')
-rw-r--r-- | main/libdvbcsa/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/libdvbcsa/APKBUILD b/main/libdvbcsa/APKBUILD new file mode 100644 index 0000000000..deb48b6e3a --- /dev/null +++ b/main/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" |