wok-next view cdrkit/receipt @ rev 21108
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 07 11:27:51 2019 +0200 (2019-01-07) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cdrkit"
4 VERSION="1.1.11"
5 CATEGORY="utilities"
6 SHORT_DESC="A collection of CD/DVD utilities"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.cdrkit.org/" # website is empty
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://cdrkit.org/releases/$TARBALL" # website is empty
13 WGET_URL="https://dev.alpinelinux.org/archive/cdrkit/$TARBALL"
14 TARBALL_SHA1="3f7ddc06db0272942e1a4cd98c3c96462df77387"
16 EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch"
18 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev libzstd"
19 SPLIT="$PACKAGE-audio $PACKAGE-isoinfo readom"
21 COPY_std="genisoimage wodim cdrecord mkisofs mkhybrid"
22 COPY_audio="cdda2mp3 cdda2ogg cdda2wav icedax pitchplay"
23 COPY_isoinfo="isoinfo"
24 COPY_readom="readom readcd"
26 CAT_audio="multimedia|extracting audio files"
27 CAT_isoinfo="multimedia|work with iso9660 images"
28 CAT_readom="utilities|for use with graveman"
30 DEPENDS_std="libcap zlib libbzip2 attr"
32 compile_rules() {
33 LDFLAGS="$LDFLAGS -Wno-dev" # mute cmake developer warnings
34 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' genisoimage/CMakeLists.txt
36 make PREFIX=/usr &&
37 make PREFIX=/usr install || return 1
39 # make symlinks for cdrtools compatibility
40 cd $install/usr/bin
41 ln -s genisoimage mkhybrid
42 ln -s genisoimage mkisofs
43 ln -s icedax cdda2wav
44 ln -s readom readcd
45 ln -s wodim cdrecord
46 cd $install/usr/share/man/man1
47 ln -s genisoimage.1 mkhybrid.1
48 ln -s genisoimage.1 mkisofs.1
49 ln -s icedax.1 cdda2wav.1
50 ln -s readom.1 readcd.1
51 ln -s wodim.1 cdrecord.1
52 }