wok view cdrkit/receipt @ rev 24011
mosh: create /usr/share/terminfo/x/xterm-256color link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 05 17:16:12 2021 +0000 (2021-02-05) |
parents | fad95bff792d |
children | 3e2a0347b2f1 |
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 patch -p1 < $stuff/cdrkit-1.1.9-sort-catalog.patch
26 make PREFIX=/usr && make install PREFIX=/usr
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $install/usr/share/
33 cp $install/usr/bin/genisoimage $fs/usr/bin
34 cp $install/usr/bin/wodim $fs/usr/bin
35 # Make symlinks for cdrtools compatibility
36 cd $fs/usr/bin
37 ln -s wodim cdrecord
38 ln -s genisoimage mkisofs
39 ln -s genisoimage mkhybrid
40 cp -a $src/doc $install/usr/share
41 cp $src/FORK $src/FAQ $src/ABOUT $install/usr/share/doc
42 }