wok-6.x annotate dvd+rw-tools/receipt @ rev 9321
Up: gcompris (9.6) BUG: still svg icon loading
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:03:38 2011 +0100 (2011-03-18) |
parents | beb0a81b7553 |
children | d1768332cee0 |
rev | line source |
---|---|
jozee@2724 | 1 # SliTaz package receipt. |
jozee@2724 | 2 |
jozee@2724 | 3 PACKAGE="dvd+rw-tools" |
jozee@2724 | 4 VERSION="7.1" |
jozee@2724 | 5 CATEGORY="multimedia" |
jozee@2724 | 6 SHORT_DESC="DVD RW tools" |
jozee@2724 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2724 | 8 DEPENDS="cdrkit" |
jozee@2724 | 9 BUILD_DEPENDS="cdrkit gcc-lib-base m4" |
jozee@2724 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2724 | 11 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" |
jozee@2724 | 12 WGET_URL="$WEB_SITE/tools/$TARBALL" |
jozee@2724 | 13 |
jozee@2724 | 14 # Rules to configure and make the package. |
jozee@2724 | 15 compile_rules() |
jozee@2724 | 16 { |
jozee@2724 | 17 cd $src |
jozee@2724 | 18 patch -p1 -i ../stuff/build-7.1.patch |
pascal@5908 | 19 grep -qs 'define u8' growisofs.c || |
pascal@5908 | 20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c |
jozee@2724 | 21 make |
jozee@2724 | 22 mkdir -p $PWD/_pkg/usr/bin/ |
jozee@2724 | 23 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do |
jozee@2724 | 24 install -m755 $bin $PWD/_pkg/usr/bin/ |
jozee@2724 | 25 done |
jozee@2724 | 26 } |
jozee@2724 | 27 |
jozee@2724 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2724 | 29 genpkg_rules() |
jozee@2724 | 30 { |
jozee@2724 | 31 mkdir -p $fs/usr/bin |
jozee@2724 | 32 cp -a $_pkg/usr/bin/growisofs $fs/usr/bin |
jozee@2724 | 33 |
jozee@2724 | 34 } |