wok-current annotate cdrkit/receipt @ rev 15579

Remove cromfs-or-squashfs; add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 10:06:29 2013 +0000 (2013-11-30)
parents d4e83c73b190
children 73cdd2cf47c4
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"
pankso@39 12
pankso@9755 13 DEPENDS="libcap zlib bzlib attr"
pankso@9755 14 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
pankso@9755 15
pankso@39 16 # Rules to configure and make the package.
pankso@39 17 compile_rules()
pankso@39 18 {
pankso@39 19 cd $src
pascal@4462 20 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
pascal@4462 21 genisoimage/CMakeLists.txt
pankso@9699 22 #patch -p1 < $stuff/$PACKAGE-1.1.9-glibc-2.10.patch || return 1
pankso@6790 23 #grep -qs 'define u8' libusal/scsi-linux-sg.c ||
pankso@6790 24 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libusal/scsi-linux-sg.c
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 {
pankso@39 31 mkdir -p $fs/usr/bin
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
pankso@39 39 }