wok-next view dvd+rw-tools/receipt @ rev 16646

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