wok-next view cdrkit/receipt @ rev 4880

Add: hal-scripts
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 04 23:56:03 2010 +0100 (2010-02-04)
parents 1a3680a41bf0
children 063ab2698119
line source
1 # SliTaz package receipt.
3 PACKAGE="cdrkit"
4 VERSION="1.1.9"
5 CATEGORY="utilities"
6 SHORT_DESC="Wodim for recording/blanking CDs/DVDs and genisoimage for ISO."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr attr-dev"
9 DEPENDS="libcap zlib bzlib attr"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cdrkit.org/"
12 WGET_URL="http://cdrkit.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
19 genisoimage/CMakeLists.txt
20 patch -p1 < ../stuff/$PACKAGE-1.1.9-glibc-2.10.patch || exit 1
21 make &&
22 make install PREFIX=$PWD/_pkg/usr
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp $_pkg/usr/bin/genisoimage $fs/usr/bin
30 cp $_pkg/usr/bin/wodim $fs/usr/bin
31 strip -s $fs/usr/bin/*
33 # Make symlinks for cdrtools compatibility
34 cd $fs/usr/bin
35 ln -s wodim cdrecord
36 ln -s genisoimage mkisofs
37 ln -s genisoimage mkhybrid
38 }