aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-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"