wok-next annotate dvd+rw-tools/receipt @ rev 15670
Up linux (3.2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 18 08:40:48 2013 +0000 (2013-12-18) |
parents | d1768332cee0 |
children | 4396aed7eb01 |
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" |
pascal@15579 | 8 LICENSE="GPL2" |
jozee@2724 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2724 | 10 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" |
jozee@2724 | 11 WGET_URL="$WEB_SITE/tools/$TARBALL" |
jozee@2724 | 12 |
pascal@15579 | 13 DEPENDS="cdrkit" |
pascal@15579 | 14 BUILD_DEPENDS="cdrkit gcc-lib-base m4" |
pascal@15579 | 15 |
jozee@2724 | 16 # Rules to configure and make the package. |
jozee@2724 | 17 compile_rules() |
jozee@2724 | 18 { |
jozee@2724 | 19 cd $src |
slaxemulator@9700 | 20 patch -p1 -i $stuff/build-7.1.patch |
pascal@5908 | 21 grep -qs 'define u8' growisofs.c || |
pascal@5908 | 22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c |
jozee@2724 | 23 make |
pascal@15579 | 24 mkdir -p $DESTDIR/usr/bin/ |
jozee@2724 | 25 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do |
pascal@15579 | 26 install -m755 $bin $DESTDIR/usr/bin/ |
jozee@2724 | 27 done |
jozee@2724 | 28 } |
jozee@2724 | 29 |
jozee@2724 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2724 | 31 genpkg_rules() |
jozee@2724 | 32 { |
jozee@2724 | 33 mkdir -p $fs/usr/bin |
pascal@15579 | 34 cp -a $install/usr/bin/growisofs $fs/usr/bin |
jozee@2724 | 35 |
jozee@2724 | 36 } |