wok view cdrkit/receipt @ rev 24944
updated n2n (2.4 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 16:44:33 2022 +0100 (2022-04-22) |
parents | b553f83f6fb9 |
children | e1e1678c5265 |
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="https://web.archive.org/web/20140714024716/http://www.cdrkit.org/"
11 WGET_URL="http://cdrkit.org/releases/$TARBALL"
12 EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch"
13 DEPENDS="libcap zlib bzlib attr"
14 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/released/!d;s|Cdrkit ||;s| has.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
26 genisoimage/CMakeLists.txt
27 [ -s $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch ] ||
28 wget -P $SOURCES_REPOSITORY https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch
29 patch -p1 < $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch
30 patch -p1 < $stuff/cdrkit-1.1.9-sort-catalog.patch
31 make PREFIX=/usr && make install PREFIX=/usr
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $install/usr/share/
38 cp $install/usr/bin/genisoimage $fs/usr/bin
39 cp $install/usr/bin/wodim $fs/usr/bin
40 # Make symlinks for cdrtools compatibility
41 cd $fs/usr/bin
42 ln -s wodim cdrecord
43 ln -s genisoimage mkisofs
44 ln -s genisoimage mkhybrid
45 cp -a $src/doc $install/usr/share
46 cp $src/FORK $src/FAQ $src/ABOUT $install/usr/share/doc
47 }