wok-4.x annotate cdrkit/receipt @ rev 3647

Add: attr
author Matthew Sheets <rcx@zoominternet.net>
date Mon Jul 06 16:57:02 2009 +0000 (2009-07-06)
parents f3d746fd8166
children cc6902bd0597
rev   line source
pankso@39 1 # SliTaz package receipt.
pankso@39 2
pankso@39 3 PACKAGE="cdrkit"
pankso@1994 4 VERSION="1.1.9"
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@753 8 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev"
pascal@753 9 DEPENDS="libcap zlib bzlib"
pankso@39 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@39 11 WEB_SITE="http://www.cdrkit.org/"
pankso@39 12 WGET_URL="http://cdrkit.org/releases/$TARBALL"
pankso@39 13
pankso@39 14 # Rules to configure and make the package.
pankso@39 15 compile_rules()
pankso@39 16 {
pankso@39 17 cd $src
pankso@39 18 make
pankso@39 19 make install PREFIX=$PWD/_pkg/usr
pankso@39 20 }
pankso@39 21
pankso@39 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@39 23 genpkg_rules()
pankso@39 24 {
pankso@39 25 mkdir -p $fs/usr/bin
pankso@39 26 cp $_pkg/usr/bin/genisoimage $fs/usr/bin
pankso@39 27 cp $_pkg/usr/bin/wodim $fs/usr/bin
pankso@39 28 strip -s $fs/usr/bin/*
jozee@2801 29
jozee@2801 30 # Make symlinks for cdrtools compatibility
jozee@2801 31 cd $fs/usr/bin
jozee@2801 32 ln -s wodim cdrecord
jozee@2801 33 ln -s genisoimage mkisofs
jozee@2801 34 ln -s genisoimage mkhybrid
pankso@39 35 }