wok-4.x view libsmpeg/receipt @ rev 5556

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