wok-next view cdrkit/receipt @ rev 19994

Up qtwebkit, smplayer, nomacs, qedit
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 15:48:04 2017 +0200 (2017-10-20)
parents 73cdd2cf47c4
children 4559c47e51e6
line source
1 # SliTaz package receipt.
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 DEPENDS="libcap zlib bzlib attr"
16 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
17 SPLIT="cdrkit-audio cdrkit-isoinfo"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
23 genisoimage/CMakeLists.txt
24 [ -s $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch ] ||
25 wget -P $SOURCES_REPOSITORY https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch
26 patch -p1 < $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch
27 make PREFIX=/usr && make install PREFIX=/usr
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp $install/usr/bin/genisoimage $fs/usr/bin
35 cp $install/usr/bin/wodim $fs/usr/bin
36 # Make symlinks for cdrtools compatibility
37 cd $fs/usr/bin
38 ln -s wodim cdrecord
39 ln -s genisoimage mkisofs
40 ln -s genisoimage mkhybrid
41 }