wok-next annotate cdrkit/receipt @ rev 21585

updated deluge (1.3.15 -> 2.0.3)
author Hans-G?nter Theisgen
date Tue Jun 23 16:59:31 2020 +0100 (2020-06-23)
parents 82b613cfd1e0
children
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@21108 6 SHORT_DESC="A collection of CD/DVD utilities"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
al@21108 9 WEB_SITE="http://www.cdrkit.org/" # website is empty
al@19601 10
pankso@39 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21108 12 #WGET_URL="http://cdrkit.org/releases/$TARBALL" # website is empty
al@21108 13 WGET_URL="https://dev.alpinelinux.org/archive/cdrkit/$TARBALL"
al@21108 14 TARBALL_SHA1="3f7ddc06db0272942e1a4cd98c3c96462df77387"
al@21108 15
pascal@19418 16 EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch"
pankso@39 17
al@21108 18 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev libzstd"
al@21020 19 SPLIT="$PACKAGE-audio $PACKAGE-isoinfo readom"
pankso@9755 20
al@21108 21 COPY_std="genisoimage wodim cdrecord mkisofs mkhybrid"
al@21108 22 COPY_audio="cdda2mp3 cdda2ogg cdda2wav icedax pitchplay"
al@21108 23 COPY_isoinfo="isoinfo"
al@21108 24 COPY_readom="readom readcd"
al@21108 25
al@21108 26 CAT_audio="multimedia|extracting audio files"
al@21108 27 CAT_isoinfo="multimedia|work with iso9660 images"
al@21108 28 CAT_readom="utilities|for use with graveman"
al@21108 29
al@21108 30 DEPENDS_std="libcap zlib libbzip2 attr"
al@21108 31
al@20443 32 compile_rules() {
al@21108 33 LDFLAGS="$LDFLAGS -Wno-dev" # mute cmake developer warnings
al@21108 34 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' genisoimage/CMakeLists.txt
al@21020 35
al@21020 36 make PREFIX=/usr &&
al@21108 37 make PREFIX=/usr install || return 1
al@21108 38
al@21108 39 # make symlinks for cdrtools compatibility
al@21108 40 cd $install/usr/bin
al@21108 41 ln -s genisoimage mkhybrid
al@21108 42 ln -s genisoimage mkisofs
al@21108 43 ln -s icedax cdda2wav
al@21108 44 ln -s readom readcd
al@21108 45 ln -s wodim cdrecord
al@21108 46 cd $install/usr/share/man/man1
al@21108 47 ln -s genisoimage.1 mkhybrid.1
al@21108 48 ln -s genisoimage.1 mkisofs.1
al@21108 49 ln -s icedax.1 cdda2wav.1
al@21108 50 ln -s readom.1 readcd.1
al@21108 51 ln -s wodim.1 cdrecord.1
pankso@39 52 }