wok-current annotate dvd+rw-tools/receipt @ rev 25185
mplayer: added dependency ffmpeg
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 12 09:50:00 2022 +0100 (2022-07-12) |
parents | eb8067417980 |
children |
rev | line source |
---|---|
jozee@2724 | 1 # SliTaz package receipt. |
jozee@2724 | 2 |
jozee@2724 | 3 PACKAGE="dvd+rw-tools" |
jozee@2724 | 4 VERSION="7.1" |
jozee@2724 | 5 CATEGORY="multimedia" |
jozee@2724 | 6 SHORT_DESC="DVD RW tools" |
jozee@2724 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
jozee@2724 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2724 | 10 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" |
jozee@2724 | 11 WGET_URL="$WEB_SITE/tools/$TARBALL" |
jozee@2724 | 12 |
pascal@15579 | 13 DEPENDS="cdrkit" |
pascal@15579 | 14 BUILD_DEPENDS="cdrkit gcc-lib-base m4" |
pascal@15579 | 15 |
pascal@24433 | 16 # What is the latest version available today? |
pascal@24433 | 17 current_version() |
pascal@24433 | 18 { |
pascal@24433 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24433 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 21 } |
pascal@24433 | 22 |
jozee@2724 | 23 # Rules to configure and make the package. |
jozee@2724 | 24 compile_rules() |
jozee@2724 | 25 { |
jozee@2724 | 26 cd $src |
slaxemulator@9700 | 27 patch -p1 -i $stuff/build-7.1.patch |
pascal@5908 | 28 grep -qs 'define u8' growisofs.c || |
pascal@5908 | 29 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c |
jozee@2724 | 30 make |
pascal@15579 | 31 mkdir -p $DESTDIR/usr/bin/ |
jozee@2724 | 32 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do |
pascal@15579 | 33 install -m755 $bin $DESTDIR/usr/bin/ |
jozee@2724 | 34 done |
jozee@2724 | 35 } |
jozee@2724 | 36 |
jozee@2724 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2724 | 38 genpkg_rules() |
jozee@2724 | 39 { |
jozee@2724 | 40 mkdir -p $fs/usr/bin |
pascal@15579 | 41 cp -a $install/usr/bin/growisofs $fs/usr/bin |
jozee@2724 | 42 |
jozee@2724 | 43 } |