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