wok-next view cdrkit/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
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 }