summaryrefslogtreecommitdiff
path: root/extra/libcdio-paranoia/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-16 00:05:27 -0800
committerroot <root@rshg054.dnsready.net>2013-01-16 00:05:27 -0800
commite1c991185c594db7cc8978ed0239ebca4d37560e (patch)
tree4194e204102f73813c57aed0afba08fd06e38999 /extra/libcdio-paranoia/PKGBUILD
parent733e4f771063834ef4d8f31af1dcac95d55e3c3e (diff)
Wed Jan 16 00:05:27 PST 2013
Diffstat (limited to 'extra/libcdio-paranoia/PKGBUILD')
-rw-r--r--extra/libcdio-paranoia/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/libcdio-paranoia/PKGBUILD b/extra/libcdio-paranoia/PKGBUILD
new file mode 100644
index 000000000..c66286d89
--- /dev/null
+++ b/extra/libcdio-paranoia/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 174870 2013-01-08 10:06:34Z jgc $
+# Maintainer:
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=libcdio-paranoia
+pkgver=10.2+0.90
+pkgrel=1
+pkgdesc="CD paranoia libraries from libcdio"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+url="http://www.gnu.org/software/libcdio/"
+depends=('libcdio')
+options=('!libtool')
+source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.bz2{,.sig}
+ header-fix.patch)
+md5sums=('432e9f1c5ceb645c4bca9db3f9297437'
+ '39766404d473ecda66c2f3a932d1c57c'
+ '1ebb33a1cfe00181de31138ef001e01b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np0 -i ../header-fix.patch
+ sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+ aclocal
+ autoconf
+ automake --add-missing
+ ./configure --prefix=/usr --enable-cpp-progs --disable-static --disable-example-progs
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make -j1 DESTDIR="${pkgdir}" install
+
+ #sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \
+ # $pkgdir/usr/include/cdio/cdio_config.h
+}