wok-current annotate dvd+rw-tools/receipt @ rev 23295

updated perl-cgi (3.63 -> 4.46)
author Hans-G?nter Theisgen
date Sun Mar 29 16:15:51 2020 +0100 (2020-03-29)
parents d1768332cee0
children ad8b9ff412d2
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
jozee@2724 16 # Rules to configure and make the package.
jozee@2724 17 compile_rules()
jozee@2724 18 {
jozee@2724 19 cd $src
slaxemulator@9700 20 patch -p1 -i $stuff/build-7.1.patch
pascal@5908 21 grep -qs 'define u8' growisofs.c ||
pascal@5908 22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c
jozee@2724 23 make
pascal@15579 24 mkdir -p $DESTDIR/usr/bin/
jozee@2724 25 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do
pascal@15579 26 install -m755 $bin $DESTDIR/usr/bin/
jozee@2724 27 done
jozee@2724 28 }
jozee@2724 29
jozee@2724 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2724 31 genpkg_rules()
jozee@2724 32 {
jozee@2724 33 mkdir -p $fs/usr/bin
pascal@15579 34 cp -a $install/usr/bin/growisofs $fs/usr/bin
jozee@2724 35
jozee@2724 36 }