wok-6.x view cdrkit/receipt @ rev 16049
s/i468/i486/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 12:39:12 2014 +0000 (2014-03-10) |
parents | d4e83c73b190 |
children | 73cdd2cf47c4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cdrkit"
4 VERSION="1.1.11"
5 CATEGORY="utilities"
6 SHORT_DESC="Wodim for recording/blanking CDs/DVDs and genisoimage for ISO."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cdrkit.org/"
11 WGET_URL="http://cdrkit.org/releases/$TARBALL"
13 DEPENDS="libcap zlib bzlib attr"
14 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
21 genisoimage/CMakeLists.txt
22 #patch -p1 < $stuff/$PACKAGE-1.1.9-glibc-2.10.patch || return 1
23 #grep -qs 'define u8' libusal/scsi-linux-sg.c ||
24 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libusal/scsi-linux-sg.c
25 make PREFIX=/usr && make install PREFIX=/usr
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp $install/usr/bin/genisoimage $fs/usr/bin
33 cp $install/usr/bin/wodim $fs/usr/bin
34 # Make symlinks for cdrtools compatibility
35 cd $fs/usr/bin
36 ln -s wodim cdrecord
37 ln -s genisoimage mkisofs
38 ln -s genisoimage mkhybrid
39 }