wok-6.x annotate dvd+rw-tools/receipt @ rev 21586

updated nspr and nspr-dev (4.10.8 -> 4.21)
author Hans-G?nter Theisgen
date Mon May 20 13:58:55 2019 +0100 (2019-05-20)
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 }