From be975e32d094beaf68870320b8c52764a1a430cd Mon Sep 17 00:00:00 2001 From: Thierry N Date: Wed, 12 Aug 2009 20:47:48 +0200 Subject: Ajout de smpeg#0.4.4-3 --- extra/smpeg/Pkgfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 extra/smpeg/Pkgfile (limited to 'extra/smpeg/Pkgfile') 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 +} + -- cgit v1.2.3-70-g09d2