🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: cdrtools
pkgver: '3.02a09'
pkgrel: '3'
pkgdesc: 'Set of programs for CD/DVD recording, ISO image creation and audio CD extraction'
url: 'http://cdrecord.org/'
arch: x86_64
depends: []
makedepends:
- libcap
- cmake
- 'alsa-lib'
source:
- 'https://downloads.sourceforge.net/cdrtools/${pkgname}-${pkgver}.tar.bz2'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux
# install rscsi to /usr/bin instead of /usr/sbin
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
export GMAKE_NOWARN=true
export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing"
make LINKMODE=dynamic -j1
make INS_BASE=/usr DESTDIR=${PKGDIR} LINKMODE=dynamic install
cd ${PKGDIR}/usr/bin
ln -s cdrecord wodim
ln -s mkisofs genisoimage
ln -s readcd readom
ln -s cdda2wav icedax
ln -s cdrecord dvdrecord
rm -rf "${PKGDIR}"/usr/include
rm -rf "${PKGDIR}"/usr/lib/{*.a,profiled}
rm -rf "${PKGDIR}"/usr/share/man/man3
# autoload 'sg' module needed by cdrecord
install -vd -m755 "${PKGDIR}"/etc/modules-load.d/
echo sg > "${PKGDIR}"/etc/modules-load.d/cdrecord.conf
package: |
true