wok annotate cdrkit/receipt @ rev 20421

Update some web_site to https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 07 23:03:21 2018 +0200 (2018-08-07)
parents 73cdd2cf47c4
children b553f83f6fb9
rev   line source
pankso@39 1 # SliTaz package receipt.
pankso@39 2
pankso@39 3 PACKAGE="cdrkit"
pankso@6790 4 VERSION="1.1.11"
pankso@201 5 CATEGORY="utilities"
pankso@39 6 SHORT_DESC="Wodim for recording/blanking CDs/DVDs and genisoimage for ISO."
pankso@39 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pankso@39 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@39 10 WEB_SITE="http://www.cdrkit.org/"
pankso@39 11 WGET_URL="http://cdrkit.org/releases/$TARBALL"
pascal@19418 12 EXTRA_SOURCE_FILES="cdrkit-1.1.9-efi-boot.patch"
pankso@39 13
pankso@9755 14 DEPENDS="libcap zlib bzlib attr"
pankso@9755 15 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
pankso@9755 16
pankso@39 17 # Rules to configure and make the package.
pankso@39 18 compile_rules()
pankso@39 19 {
pascal@4462 20 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
pascal@4462 21 genisoimage/CMakeLists.txt
pascal@19418 22 [ -s $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch ] ||
pascal@19418 23 wget -P $SOURCES_REPOSITORY https://github.com/NixOS/nixpkgs/raw/master/pkgs/tools/cd-dvd/cdrkit/cdrkit-1.1.9-efi-boot.patch
pascal@19418 24 patch -p1 < $SOURCES_REPOSITORY/cdrkit-1.1.9-efi-boot.patch
pankso@9755 25 make PREFIX=/usr && make install PREFIX=/usr
pankso@39 26 }
pankso@39 27
pankso@39 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@39 29 genpkg_rules()
pankso@39 30 {
pascal@19567 31 mkdir -p $fs/usr/bin $install/usr/share/
pascal@15579 32 cp $install/usr/bin/genisoimage $fs/usr/bin
pascal@15579 33 cp $install/usr/bin/wodim $fs/usr/bin
jozee@2801 34 # Make symlinks for cdrtools compatibility
pankso@6790 35 cd $fs/usr/bin
pankso@6790 36 ln -s wodim cdrecord
pankso@6790 37 ln -s genisoimage mkisofs
pankso@6790 38 ln -s genisoimage mkhybrid
pascal@19567 39 cp -a $src/doc $install/usr/share
pascal@19567 40 cp $src/FORK $src/FAQ $src/ABOUT $install/usr/share/doc
pankso@39 41 }