wok-6.x annotate libsmpeg/receipt @ rev 5338

Fix: xorg-libXinerama-dev have include file (Xinerama.h)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 25 23:13:16 2010 +0200 (2010-04-25)
parents d983e90f942d
children b537813316cf
rev   line source
claudinei@3338 1 # SliTaz package receipt.
claudinei@3338 2
claudinei@3338 3 PACKAGE="libsmpeg"
claudinei@3338 4 SOURCE="smpeg"
claudinei@4686 5 VERSION="389"
claudinei@3338 6 CATEGORY="development"
claudinei@3338 7 SHORT_DESC="Mpeg decoding library"
claudinei@3338 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3338 9 WEB_SITE="http://icculus.org/smpeg"
pascal@5003 10 DEPENDS="libsdl gcc-lib-base"
pankso@3425 11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
claudinei@3338 12
claudinei@3338 13
claudinei@3338 14 # Rules to configure and make the package.
claudinei@3338 15 compile_rules()
claudinei@3338 16 {
claudinei@3338 17 [ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION
claudinei@3338 18 svn co svn://svn.icculus.org/$SOURCE/trunk \
claudinei@3338 19 -r $VERSION $SOURCE-$VERSION
claudinei@3338 20 cd $src
claudinei@3338 21 chmod +x install-sh
claudinei@3338 22 ./autogen.sh
claudinei@3338 23 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
claudinei@3338 24 make &&
claudinei@3338 25 make DESTDIR=$PWD/_pkg install
claudinei@3338 26 }
claudinei@3338 27
claudinei@3338 28 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3338 29 genpkg_rules()
claudinei@3338 30 {
claudinei@3338 31 mkdir -p $fs/usr/lib
claudinei@3338 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
claudinei@3338 33
claudinei@3338 34 }