aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcdio-paranoia
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-27 20:34:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-27 20:34:25 +0000
commit83e80a18fd5f9bb435334f01e61fde9c59dae5dc (patch)
treec7dca031913aad065cb569e3405d78d0439d8356 /main/libcdio-paranoia
parent3a4da3aa2bd4999245ee1e078ece3d22455aa5cd (diff)
downloadaports-83e80a18fd5f9bb435334f01e61fde9c59dae5dc.tar.bz2
aports-83e80a18fd5f9bb435334f01e61fde9c59dae5dc.tar.xz
main/libcdio-paranoia: new aport
Diffstat (limited to 'main/libcdio-paranoia')
-rw-r--r--main/libcdio-paranoia/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/libcdio-paranoia/APKBUILD b/main/libcdio-paranoia/APKBUILD
new file mode 100644
index 0000000000..de4af770d1
--- /dev/null
+++ b/main/libcdio-paranoia/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor:
+# Maintainer:
+pkgname=libcdio-paranoia
+pkgver=0.90
+pkgrel=0
+pkgdesc="CD paranoia on top of libcdio"
+url="http://www.gnu.org/software/libcdio/"
+arch="all"
+license="GPLv2+ and LGPLv2+"
+depends=""
+depends_dev="libcdio-dev"
+makedepends="$depends_dev libiconv-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+$pkgver.tar.gz"
+
+_builddir="$srcdir"/libcdio-paranoia-10.2+$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="7175764764c7fa22e1b802b9526c9411 libcdio-paranoia-10.2+0.90.tar.gz"
+sha256sums="562d6158b2690cbb98609f7f8b2b4198c22cc4e275aad33f95b8e83c630eb3b4 libcdio-paranoia-10.2+0.90.tar.gz"
+sha512sums="d8549d50b08cfd407672d49e43cc82525fb551a3f2ef1c6a4e3ac0c31ad209009249811d5a53172b59d1f858b7b0a3a929ef8e0a75322a27aaebdfb45d6e1531 libcdio-paranoia-10.2+0.90.tar.gz"