wok-next view libsmpeg/receipt @ rev 4891

Add: yasr
author Paul Issott <paul@slitaz.org>
date Sat Feb 06 18:07:44 2010 +0000 (2010-02-06)
parents e8024c01fc47
children 8752c40cc534
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"
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 }