wok-next rev 2724

Add:dvd+rw-tools
author Rohit Joshi <jozee@slitaz.org>
date Fri Apr 24 07:27:06 2009 +0000 (2009-04-24)
parents a120bd16ac79
children 209255ef5a73
files dvd+rw-media-tools/receipt dvd+rw-tools/receipt dvd+rw-tools/stuff/build-7.1.patch
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dvd+rw-media-tools/receipt	Fri Apr 24 07:27:06 2009 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dvd+rw-media-tools"
     1.7 +VERSION="7.1"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="DVD RW media tools"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +WANTED="dvd+rw-tools"
    1.12 +WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" 
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/bin
    1.18 +	cp -a $_pkg/usr/bin $fs/usr
    1.19 +	rm $fs/usr/bin/growisofs
    1.20 +	
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dvd+rw-tools/receipt	Fri Apr 24 07:27:06 2009 +0000
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="dvd+rw-tools"
     2.7 +VERSION="7.1"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="DVD RW tools"
    2.10 +MAINTAINER="jozee@slitaz.org"
    2.11 +DEPENDS="cdrkit"
    2.12 +BUILD_DEPENDS="cdrkit gcc-lib-base m4"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" 
    2.15 +WGET_URL="$WEB_SITE/tools/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	patch -p1 -i ../stuff/build-7.1.patch
    2.22 +	make
    2.23 +	mkdir -p $PWD/_pkg/usr/bin/
    2.24 +	for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do
    2.25 +		install -m755 $bin $PWD/_pkg/usr/bin/
    2.26 +	done
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr/bin
    2.33 +	cp -a $_pkg/usr/bin/growisofs $fs/usr/bin
    2.34 +
    2.35 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dvd+rw-tools/stuff/build-7.1.patch	Fri Apr 24 07:27:06 2009 +0000
     3.3 @@ -0,0 +1,20 @@
     3.4 +--- dvd+rw-tools-7.1/growisofs.c	Tue Mar  4 09:15:03 2008
     3.5 ++++ dvd+rw-tools-7.1-new/growisofs.c	Wed Apr 22 21:57:43 2009
     3.6 +@@ -442,6 +442,7 @@
     3.7 + #include <sys/types.h>
     3.8 + #include <sys/stat.h>
     3.9 + #include <assert.h>
    3.10 ++#include <limits.h>
    3.11 + #include "mp.h"
    3.12 + 
    3.13 + #if defined(__unix) || defined(__unix__)
    3.14 +--- dvd+rw-tools-7.1/transport.hxx	Sat Mar  1 10:34:43 2008
    3.15 ++++ dvd+rw-tools-7.1-new/transport.hxx	Wed Apr 22 21:58:09 2009
    3.16 +@@ -145,6 +145,7 @@
    3.17 + #include <sys/wait.h>
    3.18 + #include <sys/utsname.h>
    3.19 + #include <scsi/sg.h>
    3.20 ++#include <limits.h>
    3.21 + #if !defined(SG_FLAG_LUN_INHIBIT)
    3.22 + # if defined(SG_FLAG_UNUSED_LUN_INHIBIT)
    3.23 + #  define SG_FLAG_LUN_INHIBIT SG_FLAG_UNUSED_LUN_INHIBIT