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