wok annotate libsmpeg/receipt @ rev 5733
Up: vte (0.25.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 25 21:35:51 2010 +0200 (2010-06-25) |
parents | b537813316cf |
children | 17066ba98354 |
rev | line source |
---|---|
claudinei@3338 | 1 # SliTaz package receipt. |
claudinei@3338 | 2 |
claudinei@3338 | 3 PACKAGE="libsmpeg" |
claudinei@3338 | 4 SOURCE="smpeg" |
claudinei@4686 | 5 VERSION="389" |
claudinei@3338 | 6 CATEGORY="development" |
claudinei@3338 | 7 SHORT_DESC="Mpeg decoding library" |
claudinei@3338 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3338 | 9 WEB_SITE="http://icculus.org/smpeg" |
pascal@5003 | 10 DEPENDS="libsdl gcc-lib-base" |
pankso@3425 | 11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion" |
claudinei@3338 | 12 |
claudinei@3338 | 13 |
claudinei@3338 | 14 # Rules to configure and make the package. |
claudinei@3338 | 15 compile_rules() |
claudinei@3338 | 16 { |
claudinei@3338 | 17 [ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION |
pascal@5561 | 18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz |
pascal@5561 | 19 if [ -f $TARBALL ]; then |
pascal@5561 | 20 tar xzf $TARBALL |
pascal@5561 | 21 else |
pascal@5561 | 22 svn co svn://svn.icculus.org/$SOURCE/trunk \ |
pascal@5563 | 23 -r $VERSION $SOURCE-$VERSION && |
pascal@5561 | 24 tar czf $TARBALL $SOURCE-$VERSION |
pascal@5561 | 25 fi |
claudinei@3338 | 26 cd $src |
claudinei@3338 | 27 chmod +x install-sh |
claudinei@3338 | 28 ./autogen.sh |
claudinei@3338 | 29 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS && |
claudinei@3338 | 30 make && |
claudinei@3338 | 31 make DESTDIR=$PWD/_pkg install |
claudinei@3338 | 32 } |
claudinei@3338 | 33 |
claudinei@3338 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3338 | 35 genpkg_rules() |
claudinei@3338 | 36 { |
claudinei@3338 | 37 mkdir -p $fs/usr/lib |
claudinei@3338 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
claudinei@3338 | 39 |
claudinei@3338 | 40 } |