wok-6.x view dvd+rw-tools/receipt @ rev 12861
Up: sqlite to 3.7.12.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 24 20:50:37 2012 +0000 (2012-05-24) |
parents | 740ce2db95e0 |
children | eb8067417980 |
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 }