wok view cdrkit/receipt @ rev 4354

wqy-bitmapfont: UP post_install
author Liu Peng <rocky@slitaz.org>
date Sun Oct 04 09:50:24 2009 +0000 (2009-10-04)
parents eb1a103df62a
children 1a3680a41bf0
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"
9 DEPENDS="libcap zlib bzlib"
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 patch -p1 < ../stuff/$PACKAGE-1.1.9-glibc-2.10.patch || exit 1
19 make &&
20 make install PREFIX=$PWD/_pkg/usr
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp $_pkg/usr/bin/genisoimage $fs/usr/bin
28 cp $_pkg/usr/bin/wodim $fs/usr/bin
29 strip -s $fs/usr/bin/*
31 # Make symlinks for cdrtools compatibility
32 cd $fs/usr/bin
33 ln -s wodim cdrecord
34 ln -s genisoimage mkisofs
35 ln -s genisoimage mkhybrid
36 }