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

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents eb8067417980
children d6378d455338
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/tools/$TARBALL"
14 BUILD_DEPENDS="cdrkit m4"
15 SPLIT="dvd+rw-media-tools"
17 compile_rules() {
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 $DESTDIR/usr/bin/
23 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do
24 install -m755 $bin $DESTDIR/usr/bin/
25 done
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 dvd+rw-tools)
31 copy growisofs
32 DEPENDS="cdrkit"
33 ;;
34 dvd+rw-media-tools)
35 copy @std @rm
36 CAT="multimedia|media tools"
37 ;;
38 esac
39 }