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

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents ad8b9ff412d2
children
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="https://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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 patch -p1 -i $stuff/build-7.1.patch
28 grep -qs 'define u8' growisofs.c ||
29 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c
30 make
31 mkdir -p $DESTDIR/usr/bin/
32 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do
33 install -m755 $bin $DESTDIR/usr/bin/
34 done
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 cp -a $install/usr/bin/growisofs $fs/usr/bin
43 }