# HG changeset patch # User Pascal Bellard # Date 1509553179 -3600 # Node ID 4559c47e51e66577507438b6e404e0944e313da3 # Parent 2e9c640c058bae10e6b45b92f7afe6867e9f7262 cdrkit: receipt v2 diff -r 2e9c640c058b -r 4559c47e51e6 cdrkit-audio/receipt --- a/cdrkit-audio/receipt Wed Nov 01 17:04:22 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cdrkit-audio" -VERSION="1.1.11" -CATEGORY="multimedia" -SHORT_DESC="Icedax, cdda2ogg and other tools for extracting audio files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.cdrkit.org/" - -WANTED="cdrkit" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/cdda* $fs/usr/bin - cp $install/usr/bin/icedax $fs/usr/bin - cp $install/usr/bin/pitchplay $fs/usr/bin - # Make symlinks for cdrtools compatibility - cd $fs/usr/bin - ln -s icedax cdda2wav -} diff -r 2e9c640c058b -r 4559c47e51e6 cdrkit-isoinfo/receipt --- a/cdrkit-isoinfo/receipt Wed Nov 01 17:04:22 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cdrkit-isoinfo" -VERSION="1.1.11" -CATEGORY="multimedia" -SHORT_DESC="Isoinfo Utility programs for iso9660 images" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.cdrkit.org/" - -WANTED="cdrkit" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/isoinfo $fs/usr/bin -} diff -r 2e9c640c058b -r 4559c47e51e6 cdrkit/receipt --- a/cdrkit/receipt Wed Nov 01 17:04:22 2017 +0100 +++ b/cdrkit/receipt Wed Nov 01 17:19:39 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cdrkit" VERSION="1.1.11" @@ -12,9 +12,8 @@ WGET_URL="http://cdrkit.org/releases/$TARBALL" EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch" -DEPENDS="libcap zlib bzlib attr" BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev" -SPLIT="cdrkit-audio cdrkit-isoinfo" +SPLIT="cdrkit cdrkit-audio cdrkit-isoinfo readom" # Rules to configure and make the package. compile_rules() @@ -30,12 +29,41 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp $install/usr/bin/genisoimage $fs/usr/bin - cp $install/usr/bin/wodim $fs/usr/bin - # Make symlinks for cdrtools compatibility - cd $fs/usr/bin - ln -s wodim cdrecord - ln -s genisoimage mkisofs - ln -s genisoimage mkhybrid + case $PACKAGE in + cdrkit) + DEPENDS="libcap zlib bzlib attr" + mkdir -p $fs/usr/bin + cp $install/usr/bin/genisoimage $fs/usr/bin + cp $install/usr/bin/wodim $fs/usr/bin + # Make symlinks for cdrtools compatibility + cd $fs/usr/bin + ln -s wodim cdrecord + ln -s genisoimage mkisofs + ln -s genisoimage mkhybrid + ;; + cdrkit-audio) + CAT="multimedia|Icedax, cdda2ogg and other tools for extracting audio files." + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/cdda* $fs/usr/bin + cp $install/usr/bin/icedax $fs/usr/bin + cp $install/usr/bin/pitchplay $fs/usr/bin + # Make symlinks for cdrtools compatibility + cd $fs/usr/bin + ln -s icedax cdda2wav + ;; + cdrkit-isoinfo) + CAT="multimedia|Isoinfo Utility programs for iso9660 images" + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/isoinfo $fs/usr/bin + ;; + readom) + CAT="utilities|readom as readcd for use with graveman" + mkdir -p $fs/usr/bin + cp $install/usr/bin/readom $fs/usr/bin + + # Make symlinks for cdrtools compatibility + cd $fs/usr/bin + ln -s readom readcd + ;; + esac } diff -r 2e9c640c058b -r 4559c47e51e6 readom/receipt --- a/readom/receipt Wed Nov 01 17:04:22 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="readom" -VERSION="1.1.11" -CATEGORY="utilities" -SHORT_DESC="readom as readcd for use with graveman" -MAINTAINER="allan316@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://www.cdrkit.org/" -WANTED="cdrkit" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp $install/usr/bin/readom $fs/usr/bin - - # Make symlinks for cdrtools compatibility - cd $fs/usr/bin - ln -s readom readcd -}