wok-stable annotate cdrkit/receipt @ rev 6119
Add cd-discid (1.1) get CDDB discid information from a CD
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Sep 05 11:46:52 2010 +0200 (2010-09-05) |
parents | 063ab2698119 |
children | e97b439c02c1 |
rev | line source |
---|---|
pankso@39 | 1 # SliTaz package receipt. |
pankso@39 | 2 |
pankso@39 | 3 PACKAGE="cdrkit" |
slaxemulator@5386 | 4 VERSION="1.1.10" |
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" |
paul@4430 | 8 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr attr-dev" |
paul@4430 | 9 DEPENDS="libcap zlib bzlib attr" |
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 |
pascal@4462 | 18 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \ |
pascal@4462 | 19 genisoimage/CMakeLists.txt |
slaxemulator@5386 | 20 #patch -p1 < ../stuff/$PACKAGE-1.1.9-glibc-2.10.patch || exit 1 |
pascal@5908 | 21 grep -qs 'define u8' libusal/scsi-linux-sg.c || |
pascal@5908 | 22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libusal/scsi-linux-sg.c |
pankso@4249 | 23 make && |
pankso@39 | 24 make install PREFIX=$PWD/_pkg/usr |
pankso@39 | 25 } |
pankso@39 | 26 |
pankso@39 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@39 | 28 genpkg_rules() |
pankso@39 | 29 { |
pankso@39 | 30 mkdir -p $fs/usr/bin |
pankso@39 | 31 cp $_pkg/usr/bin/genisoimage $fs/usr/bin |
pankso@39 | 32 cp $_pkg/usr/bin/wodim $fs/usr/bin |
pankso@39 | 33 strip -s $fs/usr/bin/* |
pankso@4249 | 34 |
jozee@2801 | 35 # Make symlinks for cdrtools compatibility |
jozee@2801 | 36 cd $fs/usr/bin |
jozee@2801 | 37 ln -s wodim cdrecord |
pankso@4249 | 38 ln -s genisoimage mkisofs |
pankso@4249 | 39 ln -s genisoimage mkhybrid |
pankso@39 | 40 } |