summaryrefslogtreecommitdiffstats
path: root/abs/extra/libcdio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libcdio/PKGBUILD')
-rw-r--r--abs/extra/libcdio/PKGBUILD38
1 files changed, 23 insertions, 15 deletions
diff --git a/abs/extra/libcdio/PKGBUILD b/abs/extra/libcdio/PKGBUILD
index 1d4cacf..a532e0d 100644
--- a/abs/extra/libcdio/PKGBUILD
+++ b/abs/extra/libcdio/PKGBUILD
@@ -1,26 +1,34 @@
-# $Id: PKGBUILD 9268 2008-08-17 05:54:40Z allan $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 150880 2012-02-23 13:48:06Z allan $
+# Maintainer:
# Contributor: damir <damir@archlinux.org>
pkgname=libcdio
-pkgver=0.82
+pkgver=0.83
pkgrel=1
pkgdesc="GNU Compact Disc Input and Control Library"
-arch=("i686" "x86_64")
-license=('GPL')
+arch=('i686' 'x86_64')
+license=('GPL3')
url="http://www.gnu.org/software/libcdio/"
-depends=('gcc-libs>=4.3.0' 'libcddb' 'ncurses')
+depends=('libcddb' 'ncurses')
options=('!libtool')
-source=(http://ftp.gnu.org/gnu/libcdio/$pkgname-$pkgver.tar.gz)
+install=libcdio.install
+source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz{,.sig}
+ libcdio-0.83-linking.patch)
+md5sums=('b9e0f1bccb142e697cd834fe56b6e6fb'
+ 'a7864a4b572a1e2a28cc0a05aa4a67d3'
+ '5a7f50209c03d5919d5b932f07871af7')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-vcd-info || return 1
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- install -m644 libcdio_paranoia.pc libcdio_cdda.pc \
- ${startdir}/pkg/usr/lib/pkgconfig/ || return 1
- rm ${pkgdir}/usr/share/info/dir
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i $srcdir/libcdio-0.83-linking.patch
+ ./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs
+ make
}
-md5sums=('1c29b18e01ab2b966162bc727bf3c360')
+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
+}