wok view dvd+rw-tools/receipt @ rev 15895
slitaz-i18n: We DONT want locale file in /usr/lib/locale (8Mb uncompressed)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 23:02:15 2014 +0100 (2014-02-12) |
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 }