wok-4.x view libsmpeg/receipt @ rev 5635
Fix: glibc-base wanted files list
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 27 18:41:05 2010 +0200 (2010-05-27) |
parents | b537813316cf |
children | 17066ba98354 |
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 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
19 if [ -f $TARBALL ]; then
20 tar xzf $TARBALL
21 else
22 svn co svn://svn.icculus.org/$SOURCE/trunk \
23 -r $VERSION $SOURCE-$VERSION &&
24 tar czf $TARBALL $SOURCE-$VERSION
25 fi
26 cd $src
27 chmod +x install-sh
28 ./autogen.sh
29 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 }