diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-30 08:49:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 12:07:10 +0000 |
commit | a9461bdab72931d525ffa64769737ad9468fa3de (patch) | |
tree | fb9e213b2168d915741474de71cb5b568317da1a /main/a52dec/APKBUILD | |
parent | 583c1ab6eb1b717faf0c1b195b6f9b0ed4845de8 (diff) | |
download | aports-a9461bdab72931d525ffa64769737ad9468fa3de.tar.bz2 aports-a9461bdab72931d525ffa64769737ad9468fa3de.tar.xz |
main/a52dec: specify license
Diffstat (limited to 'main/a52dec/APKBUILD')
-rw-r--r-- | main/a52dec/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/a52dec/APKBUILD b/main/a52dec/APKBUILD index b9cc43c088..54d2086177 100644 --- a/main/a52dec/APKBUILD +++ b/main/a52dec/APKBUILD @@ -1,20 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=a52dec pkgver=0.7.4 -pkgrel=5 -pkgdesc="liba52 is a free library for decoding ATSC A/52 streams." +pkgrel=6 +pkgdesc="A free library for decoding ATSC A/52 streams." url="http://liba52.sourceforge.net/" arch="all" -license="GPL2" +license="GPL2+" subpackages="$pkgname-dev $pkgname-doc" -depends= +depends="" makedepends="autoconf automake libtool" -source="http://liba52.sourceforge.net/files/$pkgname-$pkgver.tar.gz +source="http://liba52.sourceforge.net/files/a52dec-$pkgver.tar.gz automake.patch $pkgname-$pkgver-build.patch" +_builddir="$srcdir"/a52dec-$pkgver prepare() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -26,7 +27,7 @@ prepare() { } build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -37,11 +38,12 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -m644 liba52/a52_internal.h "$pkgdir"/usr/include/a52dec/ || return 1 } + md5sums="caa9f5bc44232dc8aeea773fea56be80 a52dec-0.7.4.tar.gz 8ebfc507f7efa16ec2dcf8f6b11c985d automake.patch fa16f224a7dceb7613824380abef0052 a52dec-0.7.4-build.patch" |