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