wok-6.x view libsmpeg/receipt @ rev 4909
xarchive: add udeb sfs arj pak arc j uc2 zoo 7z bcj bcj2 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 13 11:28:10 2010 +0100 (2010-02-13) |
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 }