wok view libsmpeg/receipt @ rev 3338
Add: libsmpeg* (svn rev 380)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 01:45:50 2009 +0000 (2009-06-11) |
parents | |
children | e8024c01fc47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg"
4 SOURCE="smpeg"
5 VERSION="380"
6 CATEGORY="development"
7 SHORT_DESC="Mpeg decoding library"
8 MAINTAINER="claudinei@slitaz.org"
9 WEB_SITE="http://icculus.org/smpeg"
10 DEPENDS="libSDL"
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 }