wok view cdrkit/receipt @ rev 20777
updated cdrtools (3.00 -> 3.02a09)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 14 13:10:09 2019 +0100 (2019-02-14) |
parents | 73cdd2cf47c4 |
children | b553f83f6fb9 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cdrkit.org/"
11 WGET_URL="http://cdrkit.org/releases/$TARBALL"
12 EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch"
14 DEPENDS="libcap zlib bzlib attr"
15 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
21 genisoimage/CMakeLists.txt
22 [ -s $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch ] ||
23 wget -P $SOURCES_REPOSITORY https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch
24 patch -p1 < $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch
25 make PREFIX=/usr && make install PREFIX=/usr
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $install/usr/share/
32 cp $install/usr/bin/genisoimage $fs/usr/bin
33 cp $install/usr/bin/wodim $fs/usr/bin
34 # Make symlinks for cdrtools compatibility
35 cd $fs/usr/bin
36 ln -s wodim cdrecord
37 ln -s genisoimage mkisofs
38 ln -s genisoimage mkhybrid
39 cp -a $src/doc $install/usr/share
40 cp $src/FORK $src/FAQ $src/ABOUT $install/usr/share/doc
41 }