wok-next view cdrkit/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 0e7893ac206d |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cdrkit"
4 VERSION="1.1.11"
5 CATEGORY="utilities"
6 SHORT_DESC="Wodim for recording/blanking CDs/DVDs and genisoimage for ISO."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.cdrkit.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://cdrkit.org/releases/$TARBALL"
13 EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch"
15 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
16 SPLIT="cdrkit cdrkit-audio cdrkit-isoinfo readom"
18 compile_rules() {
19 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
20 genisoimage/CMakeLists.txt
21 [ -s $SRC/cdrkit-1.1.9-efi-boot.patch ] ||
22 wget -P $SRC https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch
23 patch -p1 < $SRC/cdrkit-1.1.9-efi-boot.patch
24 make PREFIX=/usr && make install PREFIX=/usr
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 cdrkit)
30 DEPENDS="libcap zlib bzlib attr"
31 mkdir -p $fs/usr/bin
32 cp $install/usr/bin/genisoimage $fs/usr/bin
33 cp $install/usr/bin/wodim $fs/usr/bin
34 # Make symlinks for cdrtools compatibility
35 cd $fs/usr/bin
36 ln -s wodim cdrecord
37 ln -s genisoimage mkisofs
38 ln -s genisoimage mkhybrid
39 ;;
40 cdrkit-audio)
41 CAT="multimedia|Icedax, cdda2ogg and other tools for extracting audio files."
42 mkdir -p $fs/usr/bin
43 cp -a $install/usr/bin/cdda* $fs/usr/bin
44 cp $install/usr/bin/icedax $fs/usr/bin
45 cp $install/usr/bin/pitchplay $fs/usr/bin
46 # Make symlinks for cdrtools compatibility
47 cd $fs/usr/bin
48 ln -s icedax cdda2wav
49 ;;
50 cdrkit-isoinfo)
51 CAT="multimedia|Isoinfo Utility programs for iso9660 images"
52 mkdir -p $fs/usr/bin
53 cp -a $install/usr/bin/isoinfo $fs/usr/bin
54 ;;
55 readom)
56 CAT="utilities|readom as readcd for use with graveman"
57 mkdir -p $fs/usr/bin
58 cp $install/usr/bin/readom $fs/usr/bin
60 # Make symlinks for cdrtools compatibility
61 cd $fs/usr/bin
62 ln -s readom readcd
63 ;;
64 esac
65 }