2007-10-28 06:36:55 +11:00
|
|
|
# Description: A library for CD-ROM and CD image access.
|
2007-04-11 02:42:14 +10:00
|
|
|
# URL: http://www.gnu.org/software/libcdio/
|
2023-03-10 21:02:58 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2014-02-16 02:36:52 +11:00
|
|
|
# Depends on: libcddb ncurses
|
2007-04-11 02:42:14 +10:00
|
|
|
|
|
|
|
name=libcdio
|
2019-10-14 00:23:36 +11:00
|
|
|
version=2.1.0
|
2008-03-17 00:58:24 +11:00
|
|
|
release=1
|
2018-03-01 23:06:40 +11:00
|
|
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
|
2007-04-11 02:42:14 +10:00
|
|
|
|
|
|
|
build() {
|
2009-03-07 22:44:05 +11:00
|
|
|
cd $name-$version
|
2007-04-11 02:42:14 +10:00
|
|
|
|
2017-06-04 13:57:54 +10:00
|
|
|
autoreconf -fi
|
2014-02-16 02:36:52 +11:00
|
|
|
|
2007-04-12 00:21:22 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2014-02-16 02:36:52 +11:00
|
|
|
--disable-vcd-info \
|
|
|
|
--enable-cpp-progs
|
2007-04-11 02:42:14 +10:00
|
|
|
|
2017-06-04 13:57:54 +10:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
2007-04-11 02:42:14 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-10-28 06:36:55 +11:00
|
|
|
|
2014-02-16 02:36:52 +11: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-11 02:42:14 +10:00
|
|
|
}
|