# SliTaz package receipt. PACKAGE="cdrtools" VERSION="3.00" CATEGORY="multimedia" SHORT_DESC="Command line programs to record CD/DVD/BluRay media." MAINTAINER="paul@slitaz.org" DEPENDS="" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html" WGET_URL="ftp://ftp.berlios.de/pub/cdrecord/$TARBALL" # Rules to configure and make the package. compile_rules() { sed -i 's|/opt/schily|/usr|g; 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 INS_BASE=/usr INS_RBASE=/ cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h make -j1 && make -j1 DESTDIR=$DESTDIR install || return 1 # cdrkit compatibility ln -s cdrecord $install/usr/bin/wodim ln -s readcd $install/usr/bin/readom ln -s mkisofs $install/usr/bin/genisoimage ln -s cdda2wav $install/usr/bin/icedax } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $install/etc $fs cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr cp -a $install/usr/lib/siconv $fs/usr/lib cp -a $install/usr/share/doc $fs/usr/share }