aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cdparanoia
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-04-09 14:48:21 +0000
committerMichael Mason <ms13sp@gmail.com>2009-04-09 14:48:21 +0000
commitfddb07087c5496d3ed37debdd0d4b33e3dc9b853 (patch)
treeb51ed956035fd350ce517ad05268265221aa51fc /testing/cdparanoia
parent1cc8288fad5be7917ee7e581def09a45c3dc6653 (diff)
downloadaports-fddb07087c5496d3ed37debdd0d4b33e3dc9b853.tar.bz2
aports-fddb07087c5496d3ed37debdd0d4b33e3dc9b853.tar.xz
unstable/cdparanoia moved to testing/cdparanoia
Diffstat (limited to 'testing/cdparanoia')
-rw-r--r--testing/cdparanoia/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/cdparanoia/APKBUILD b/testing/cdparanoia/APKBUILD
new file mode 100644
index 0000000000..4273d7aff4
--- /dev/null
+++ b/testing/cdparanoia/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=cdparanoia
+pkgver=10.2
+pkgrel=0
+pkgdesc="An audio CD extraction application"
+url="http://www.xiph.org/paranoia"
+license="GPL"
+depends="uclibc"
+makedepends="libtool"
+install=
+subpackages="$pkgname-dev"
+source="http://downloads.xiph.org/releases/cdparanoia/$pkgname-III-$pkgver.src.tgz"
+
+build() {
+ cd "$srcdir/$pkgname-III-$pkgver"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ #make DESTDIR="$pkgdir" install
+
+ install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/cdparanoia "$pkgdir"/usr/bin/cdparanoia
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.a "$pkgdir"/usr/lib/libcdda_interface.a
+ install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so.0."$pkgver" "$pkgdir"/usr/lib/libcdda_interface.so.0."$pkgver"
+ install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/libcdda_paranoia.so.0."$pkgver" "$pkgdir"/usr/lib/libcdda_paranoia.so.0."$pkgver"
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so.0 "$pkgdir"/usr/lib/libcdda_interface.so.0
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so "$pkgdir"/usr/lib/libcdda_interface.so
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/libcdda_paranoia.so.0 "$pkgdir"/usr/lib/libcdda_paranoia.so.0
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/libcdda_paranoia.so "$pkgdir"/usr/lib/libcdda_paranoia.so
+
+}
+
+dev () {
+ install=""
+ mkdir pkg-dev
+ cd "$srcdir/$pkgname-III-$pkgver"
+
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/cdda_interface.h "$pkgdir"-dev/usr/include/cdda_interface.h
+ install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/cdda_paranoia.h "$pkgdir"-dev/usr/include/cdda_paranoia.h
+
+}
+
+md5sums="b304bbe8ab63373924a744eac9ebc652 cdparanoia-III-10.2.src.tgz"