wok-current view libsmpeg/receipt @ rev 8118
Up: ntfs-3g to 2011.1.15.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 23 20:32:59 2011 +0000 (2011-01-23) |
parents | 17066ba98354 |
children | 86389dd74a35 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg"
4 VERSION="389"
5 CATEGORY="development"
6 SHORT_DESC="Mpeg decoding library"
7 MAINTAINER="claudinei@slitaz.org"
8 WEB_SITE="http://icculus.org/smpeg"
9 DEPENDS="libsdl gcc-lib-base"
10 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
17 [ -L /bin/tar ] && tazpkg get-install tar --forced
18 if [ -f $TARBALL ]; then
19 tar xf $TARBALL
20 else
21 svn co svn://svn.icculus.org/smpeg/trunk \
22 -r $VERSION $PACKAGE-$VERSION &&
23 tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
24 fi
25 cd $src
26 chmod +x install-sh
27 ./autogen.sh
28 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
29 make LDFLAGS+=-lstdc++ &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }