contrib/libcdio/Pkgfile

32 lines
714 B
Plaintext
Raw Normal View History

2007-10-27 21:36:55 +02:00
# Description: A library for CD-ROM and CD image access.
2007-04-10 18:42:14 +02:00
# URL: http://www.gnu.org/software/libcdio/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2007-04-10 18:42:14 +02:00
# Packager: Tim Biermann, tim_biermann at web dot de
2014-02-15 16:36:52 +01:00
# Depends on: libcddb ncurses
2007-04-10 18:42:14 +02:00
name=libcdio
2014-02-15 16:36:52 +01:00
version=0.92
2008-03-16 14:58:24 +01:00
release=1
2014-02-15 16:36:52 +01:00
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
libcdio-0.83-linking.patch)
2007-04-10 18:42:14 +02:00
build() {
cd $name-$version
2007-04-10 18:42:14 +02:00
2014-02-15 16:36:52 +01:00
patch -p 1 -i $SRC/libcdio-0.83-linking.patch
2007-04-11 16:21:22 +02:00
./configure \
--prefix=/usr \
--mandir=/usr/man \
2014-02-15 16:36:52 +01:00
--disable-vcd-info \
--enable-cpp-progs
2007-04-10 18:42:14 +02:00
make
make DESTDIR=$PKG install
2007-10-27 21:36:55 +02:00
2014-02-15 16:36:52 +01:00
sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \
$PKG/usr/include/cdio/cdio_config.h
rm -r $PKG/usr/share/info
2007-04-10 18:42:14 +02:00
}