blob: 4e62734e8e4d41b67c09dbf14428ef889146052c (
plain)
1 # Description: A library for CD-ROM and CD image access.
2 # URL: http://www.gnu.org/software/libcdio/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Tim Biermann, tim_biermann at web dot de
5 # Depends on: libcddb ncurses
6
7 name=libcdio
8 version=0.92
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
11 libcdio-0.83-linking.patch)
12
13 build() {
14 cd $name-$version
15
16 patch -p 1 -i $SRC/libcdio-0.83-linking.patch
17
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/man \
21 --disable-vcd-info \
22 --enable-cpp-progs
23
24 make
25 make DESTDIR=$PKG install
26
27 sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \
28 $PKG/usr/include/cdio/cdio_config.h
29
30 rm -r $PKG/usr/share/info
31 }
|