wok view libsmpeg/receipt @ rev 4567
Add gnuchess
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 08 16:20:22 2009 +0100 (2009-12-08) |
parents | 9886ef43f57a |
children | d983e90f942d |
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 }