summaryrefslogtreecommitdiffstats
path: root/extra/smpeg/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:47:48 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:47:48 +0200
commitbe975e32d094beaf68870320b8c52764a1a430cd (patch)
tree6d7073da1ee318620843eab284e40769099e0e08 /extra/smpeg/Pkgfile
parent55d63e11656f2cd07f7b15f2833211b55c4d6d89 (diff)
downloadnutyx-extra-be975e32d094beaf68870320b8c52764a1a430cd.tar.gz
nutyx-extra-be975e32d094beaf68870320b8c52764a1a430cd.tar.bz2
nutyx-extra-be975e32d094beaf68870320b8c52764a1a430cd.tar.xz
nutyx-extra-be975e32d094beaf68870320b8c52764a1a430cd.zip
Ajout de smpeg#0.4.4-3
Diffstat (limited to 'extra/smpeg/Pkgfile')
-rw-r--r--extra/smpeg/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/smpeg/Pkgfile b/extra/smpeg/Pkgfile
new file mode 100644
index 000000000..7c71540b0
--- /dev/null
+++ b/extra/smpeg/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Librairie lecteur MPEG SDL.
+# URL: http://www.lokigames.com/development/smpeg.php3
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: sdl
+
+name=smpeg
+version=0.4.4
+release=3
+source=(http://gentoo.osuosl.org/distfiles/smpeg-$version.tar.gz \
+ smpeg-mpegaudiosdl.patch)
+
+build() {
+ cd smpeg-$version
+ patch -p1 -i $SRC/smpeg-mpegaudiosdl.patch
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+
+ sed -i -e 's|\(libsmpeg_la_LDFLAGS = .*\)|\1 -lstdc++|' Makefile
+
+ make
+ make install DESTDIR=$PKG
+
+ rm $PKG/usr/share/man/man1/gtv.1
+}
+