aboutsummaryrefslogtreecommitdiffstats
path: root/main/a52dec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-14 07:05:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-14 07:05:38 +0000
commitd7c17c96f8c0b447efff0369ddec43cabce75dd7 (patch)
treef3568a5940573ddfe8a8c427124d7a5c5c501698 /main/a52dec/APKBUILD
parent0fdcc97d7410417a863f2bd652f0dfea9a014114 (diff)
downloadaports-d7c17c96f8c0b447efff0369ddec43cabce75dd7.tar.bz2
aports-d7c17c96f8c0b447efff0369ddec43cabce75dd7.tar.xz
main/a52dec: move .so to -dev package
and add package() ref #384
Diffstat (limited to 'main/a52dec/APKBUILD')
-rw-r--r--main/a52dec/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/a52dec/APKBUILD b/main/a52dec/APKBUILD
index bbb41d5f10..71a07b5ad0 100644
--- a/main/a52dec/APKBUILD
+++ b/main/a52dec/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=a52dec
pkgver=0.7.4
-pkgrel=1
+pkgrel=2
pkgdesc="liba52 is a free library for decoding ATSC A/52 streams."
url="http://liba52.sourceforge.net/"
license="GPL2"
@@ -20,6 +20,10 @@ build ()
--enable-shared \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -m644 liba52/a52_internal.h "$pkgdir"/usr/include/a52dec/ || return 1
}