wok-current annotate libsmpeg/receipt @ rev 4769
Fix: gimp DEPENDS on libexif to use jpeg images
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 11 19:27:02 2010 +0100 (2010-01-11) |
parents | e8024c01fc47 |
children | 8752c40cc534 |
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" |
pankso@3425 | 10 DEPENDS="libsdl" |
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 |
claudinei@3338 | 18 svn co svn://svn.icculus.org/$SOURCE/trunk \ |
claudinei@3338 | 19 -r $VERSION $SOURCE-$VERSION |
claudinei@3338 | 20 cd $src |
claudinei@3338 | 21 chmod +x install-sh |
claudinei@3338 | 22 ./autogen.sh |
claudinei@3338 | 23 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS && |
claudinei@3338 | 24 make && |
claudinei@3338 | 25 make DESTDIR=$PWD/_pkg install |
claudinei@3338 | 26 } |
claudinei@3338 | 27 |
claudinei@3338 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3338 | 29 genpkg_rules() |
claudinei@3338 | 30 { |
claudinei@3338 | 31 mkdir -p $fs/usr/lib |
claudinei@3338 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
claudinei@3338 | 33 |
claudinei@3338 | 34 } |