summaryrefslogtreecommitdiffstats
path: root/extra/lsdvd
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:48:11 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:48:11 +0200
commit88720bba815bd8361f062593998bbd60a3d19eec (patch)
treea6a22f9f740d607aff5dd0759d8d14e2e7864796 /extra/lsdvd
parent8efc76285356ce6e4d8659e6495f483c324fd556 (diff)
downloadnutyx-pakxe-88720bba815bd8361f062593998bbd60a3d19eec.tar.gz
nutyx-pakxe-88720bba815bd8361f062593998bbd60a3d19eec.tar.bz2
nutyx-pakxe-88720bba815bd8361f062593998bbd60a3d19eec.tar.xz
nutyx-pakxe-88720bba815bd8361f062593998bbd60a3d19eec.zip
Ajout de lsdvd#0.16-1
Diffstat (limited to 'extra/lsdvd')
-rw-r--r--extra/lsdvd/.footprint6
-rw-r--r--extra/lsdvd/.md5sum2
-rw-r--r--extra/lsdvd/Pkgfile19
-rw-r--r--extra/lsdvd/stdint_usage.patch22
4 files changed, 49 insertions, 0 deletions
diff --git a/extra/lsdvd/.footprint b/extra/lsdvd/.footprint
new file mode 100644
index 000000000..3c04bba3f
--- /dev/null
+++ b/extra/lsdvd/.footprint
@@ -0,0 +1,6 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/lsdvd
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/lsdvd.1.gz
diff --git a/extra/lsdvd/.md5sum b/extra/lsdvd/.md5sum
new file mode 100644
index 000000000..c4228360a
--- /dev/null
+++ b/extra/lsdvd/.md5sum
@@ -0,0 +1,2 @@
+340e1abe5c5e5abf7ff8031e78f49ee7 lsdvd-0.16.tar.gz
+ae9c6ebb4609b2d74bf8305b33febef4 stdint_usage.patch
diff --git a/extra/lsdvd/Pkgfile b/extra/lsdvd/Pkgfile
new file mode 100644
index 000000000..517392bec
--- /dev/null
+++ b/extra/lsdvd/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Permet de lire le contenu d'un DVD en ligne de commande
+# URL: http://untrepid.com/acidrip/lsdvd.html
+# Packager: thierryn1 at hispeed dot ch
+# Maintainer: NuTyX core team
+# Depends on: libdvdcss
+
+name=lsdvd
+version=0.16
+release=1
+source=(http://downloads.sourceforge.net/lsdvd/$name-$version.tar.gz \
+ stdint_usage.patch)
+build()
+{
+ cd $name-$version
+ patch -Np0 -i ../stdint_usage.patch
+ ./configure --prefix=/usr
+ make
+ make prefix=$PKG/usr install
+}
diff --git a/extra/lsdvd/stdint_usage.patch b/extra/lsdvd/stdint_usage.patch
new file mode 100644
index 000000000..848f7e3d3
--- /dev/null
+++ b/extra/lsdvd/stdint_usage.patch
@@ -0,0 +1,22 @@
+--- lsdvd.c~ 2008-12-27 15:48:59.000000000 +0000
++++ lsdvd.c 2008-12-27 15:49:54.000000000 +0000
+@@ -13,6 +13,7 @@
+ * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros,
+ * output info structures in form of a Perl module, by Henk Vergonet.
+ */
++#include <stdint.h>
+ #include <dvdread/ifo_read.h>
+ #include <string.h>
+ #include <sys/stat.h>
+--- configure~ 2008-12-27 16:03:39.000000000 +0000
++++ configure 2008-12-27 16:04:25.000000000 +0000
+@@ -2887,8 +2887,8 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+-#include <dvdread/ifo_read.h>
+ #include <stdint.h>
++#include <dvdread/ifo_read.h>
+ int
+ main ()
+ {