summaryrefslogtreecommitdiffstats
path: root/extra/dvd+rw-tools
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dvd+rw-tools')
-rw-r--r--extra/dvd+rw-tools/.footprint11
-rw-r--r--extra/dvd+rw-tools/.md5sum2
-rwxr-xr-xextra/dvd+rw-tools/Pkgfile29
-rw-r--r--extra/dvd+rw-tools/transport.patch10
4 files changed, 52 insertions, 0 deletions
diff --git a/extra/dvd+rw-tools/.footprint b/extra/dvd+rw-tools/.footprint
new file mode 100644
index 000000000..d59c959bf
--- /dev/null
+++ b/extra/dvd+rw-tools/.footprint
@@ -0,0 +1,11 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/dvd+rw-booktype
+-rwxr-xr-x root/root usr/bin/dvd+rw-format
+-rwxr-xr-x root/root usr/bin/dvd+rw-mediainfo
+-rwxr-xr-x root/root usr/bin/dvd-ram-control
+-rwxr-xr-x root/root usr/bin/growisofs
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/growisofs.1.gz
diff --git a/extra/dvd+rw-tools/.md5sum b/extra/dvd+rw-tools/.md5sum
new file mode 100644
index 000000000..2f2ee35d0
--- /dev/null
+++ b/extra/dvd+rw-tools/.md5sum
@@ -0,0 +1,2 @@
+8acb3c885c87f6838704a0025e435871 dvd+rw-tools-7.1.tar.gz
+da4850d50d9db5e3d4c278cd2a68d4f2 transport.patch
diff --git a/extra/dvd+rw-tools/Pkgfile b/extra/dvd+rw-tools/Pkgfile
new file mode 100755
index 000000000..91b011a7f
--- /dev/null
+++ b/extra/dvd+rw-tools/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Outils de pour la gravure des DVD+-RW
+# URL: http://fy.chalmers.se/~appro/linux/DVD+RW/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=dvd+rw-tools
+version=7.1
+release=1
+source=( http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-$version.tar.gz \
+ transport.patch)
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../transport.patch
+ make
+ mkdir -p $PKG/usr/bin $PKG/usr/share/man/man1
+ for exec in \
+ dvd+rw-booktype \
+ dvd+rw-format \
+ dvd+rw-mediainfo \
+ dvd-ram-control \
+ growisofs
+ do
+ install -m 755 $exec $PKG/usr/bin/
+ done
+ install -m 644 growisofs.1 $PKG/usr/share/man/man1/
+}
diff --git a/extra/dvd+rw-tools/transport.patch b/extra/dvd+rw-tools/transport.patch
new file mode 100644
index 000000000..8c81697ac
--- /dev/null
+++ b/extra/dvd+rw-tools/transport.patch
@@ -0,0 +1,10 @@
+--- ./transport.hxx.orig 2008-03-01 04:34:43.000000000 -0600
++++ ./transport.hxx 2008-04-06 23:05:58.000000000 -0500
+@@ -9,6 +9,7 @@
+ #if defined(__unix) || defined(__unix__)
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <limits.h>
+ #include <unistd.h>
+ #include <string.h>
+ #include <sys/types.h>