32 lines
714 B
Plaintext
32 lines
714 B
Plaintext
# Description: A library for CD-ROM and CD image access.
|
|
# URL: http://www.gnu.org/software/libcdio/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Tim Biermann, tim_biermann at web dot de
|
|
# Depends on: libcddb ncurses
|
|
|
|
name=libcdio
|
|
version=0.92
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
|
|
libcdio-0.83-linking.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p 1 -i $SRC/libcdio-0.83-linking.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-vcd-info \
|
|
--enable-cpp-progs
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \
|
|
$PKG/usr/include/cdio/cdio_config.h
|
|
|
|
rm -r $PKG/usr/share/info
|
|
}
|