PKGBUILDs/extra/libcdio/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1,002 B
Bash

# $Id: PKGBUILD 35681 2009-04-15 11:19:42Z jgc $
# Maintainer: damir <damir@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=libcdio
pkgver=0.81
pkgrel=2
pkgdesc="GNU Compact Disc Input and Control Library"
arch=("i686" "x86_64")
license=('GPL3')
url="http://www.gnu.org/software/libcdio/"
depends=('gcc-libs>=4.3.3' 'libcddb' 'ncurses')
options=('!libtool')
install=libcdio.install
source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz
fix-loop.patch)
md5sums=('2ad1622b672ccf53a3444a0c55724d38'
'31cb8c3bf42761c467379c97798f0320')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/fix-loop.patch" || return 1
./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs || return 1
make || return 1
make -j1 DESTDIR="${pkgdir}" install || return 1
#install -m644 libcdio_paranoia.pc libcdio_cdda.pc \
# "${pkgdir}/usr/lib/pkgconfig/" || return 1
rm -f "${pkgdir}/usr/share/info/dir"
gzip ${pkgdir}/usr/share/info/*.info
}