wok-4.x view libsmpeg/receipt @ rev 7838

Up: fsarchiver to 0.6.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 27 16:51:50 2010 +0000 (2010-12-27)
parents a11358feced4
children 30506fc48f40
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 LDFLAGS+=-lstdc++ &&
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 }