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

python-pyyaml: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 21:49:25 2013 +0000 (2013-08-13)
parents 740ce2db95e0
children eb8067417980
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"
jozee@2724 8 DEPENDS="cdrkit"
jozee@2724 9 BUILD_DEPENDS="cdrkit gcc-lib-base m4"
jozee@2724 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2724 11 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW"
jozee@2724 12 WGET_URL="$WEB_SITE/tools/$TARBALL"
jozee@2724 13
jozee@2724 14 # Rules to configure and make the package.
jozee@2724 15 compile_rules()
jozee@2724 16 {
jozee@2724 17 cd $src
slaxemulator@9700 18 patch -p1 -i $stuff/build-7.1.patch
pascal@5908 19 grep -qs 'define u8' growisofs.c ||
pascal@5908 20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c
jozee@2724 21 make
jozee@2724 22 mkdir -p $PWD/_pkg/usr/bin/
jozee@2724 23 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do
jozee@2724 24 install -m755 $bin $PWD/_pkg/usr/bin/
jozee@2724 25 done
jozee@2724 26 }
jozee@2724 27
jozee@2724 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2724 29 genpkg_rules()
jozee@2724 30 {
jozee@2724 31 mkdir -p $fs/usr/bin
jozee@2724 32 cp -a $_pkg/usr/bin/growisofs $fs/usr/bin
jozee@2724 33
jozee@2724 34 }