summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libcdio/PKGBUILD
blob: d3aaaa9713f38cbcfb421b77565848e9a191f973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 9268 2008-08-17 05:54:40Z allan $
# Maintainer: damir <damir@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=libcdio
pkgver=0.80
pkgrel=3
pkgdesc="GNU Compact Disc Input and Control Library"
arch=("i686" "x86_64")
license=('GPL')
url="http://www.gnu.org/software/libcdio/"
depends=('gcc-libs>=4.3.0' 'libcddb' 'ncurses')
options=('!libtool')
source=(http://ftp.gnu.org/gnu/libcdio/$pkgname-$pkgver.tar.gz)
md5sums=('6495add276ed11b7ac8a88092799ab4f')

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
}