🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445
pkgname: libcdio
pkgver: '2.4.0'
pkgrel: 2
pkgdesc: GNU Compact Disc Input and Control Library
url: 'http://www.gnu.org/software/libcdio/'
arch: x86_64
depends:
- ncurses
makedepends:
- libtool
- perl
- ncurses
- texinfo
- help2man
source:
- version.texi
- 'https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2'
sha256sums:
- SKIP
- SKIP
build: |
cp version.texi ${pkgname}-${pkgver}/doc
cd ${pkgname}-${pkgver}
autoreconf -fvi
./configure --prefix=/usr \
--disable-static \
--disable-vcd-info \
--enable-cpp-progs \
--disable-cddb \
--enable-maintainer-mode
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=${PKGDIR} install
# Obsolets libs
rm -f ${PKGDIR}/usr/lib/libcdio{,++}.la
rm -f ${PKGDIR}/usr/lib/libiso9660{,++}.la
rm -f ${PKGDIR}/usr/lib/libudf.la
sed -e "/define CDIO_LIBCDIO_SOURCE_PATH/s|.*|/* #undef CDIO_LIBCDIO_SOURCE_PATH */|" \
-i ${PKGDIR}/usr/include/cdio/cdio_config.h
package: |
true