wok view dvd+rw-tools/receipt @ rev 17950

Add: "make-slitaz-icons": tool to create SliTaz icon set from any Linux icon sets; "slitaz-icons-faenza": candidate to substitute "slitaz-icon" in the upcoming SliTaz release, still need testing (to find absent icons).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 16 03:14:37 2015 +0300 (2015-04-16)
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 }