wok-6.x view dvd+rw-tools/receipt @ rev 16614
libgd: dowgrade to 2.0.35 (it was a bad idea and not the moment to update)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 08 19:40:39 2014 +0200 (2014-05-08) |
parents | d1768332cee0 |
children | ad8b9ff412d2 |
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 }