diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-29 07:28:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-29 11:00:06 +0000 |
commit | f5ec2d085f7172e3b713a8ba88145dafbb090036 (patch) | |
tree | f188b48bba9a78910d116cfda3c5933332831289 /main/libcdio/APKBUILD | |
parent | 831fda32585f8497e128c86114759938b9a5aeeb (diff) | |
download | aports-f5ec2d085f7172e3b713a8ba88145dafbb090036.tar.bz2 aports-f5ec2d085f7172e3b713a8ba88145dafbb090036.tar.xz |
main/libcdio: upgrade to 0.83
Diffstat (limited to 'main/libcdio/APKBUILD')
-rw-r--r-- | main/libcdio/APKBUILD | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/main/libcdio/APKBUILD b/main/libcdio/APKBUILD index 5931a87a19..dad397e15e 100644 --- a/main/libcdio/APKBUILD +++ b/main/libcdio/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libcdio -pkgver=0.82 -pkgrel=2 +pkgver=0.83 +pkgrel=0 pkgdesc="GNU Compact Disc Input and Control Library" url="http://www.gnu.org/software/libcdio/" arch="all" @@ -13,7 +13,7 @@ if [ "$ALPINE_LIBC" != "eglibc" ]; then makedepends="$makedepends libiconv-dev" fi install= -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools ${pkgname}++:_cpp" source="http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver @@ -30,7 +30,9 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-vcd-info \ - --enable-cpp-progs + --disable-static \ + --disable-rpath \ + --disable-cpp-progs make || return 1 } @@ -40,4 +42,16 @@ package() { rm "$pkgdir"/usr/lib/*.la } -md5sums="1c29b18e01ab2b966162bc727bf3c360 libcdio-0.82.tar.gz" +tools() { + pkgdesc="libcdio example tools" + install -d "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +_cpp() { + pkgdesc="libcdio bindings for C++" + install -d "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*++.* "$subpkgdir"/usr/lib/ +} + +md5sums="b9e0f1bccb142e697cd834fe56b6e6fb libcdio-0.83.tar.gz" |