wok annotate libsmpeg/receipt @ rev 18206

Up py3k (3.4.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 15 13:37:20 2015 +0200 (2015-07-15)
parents a00bf44ed23d
children 5a902d3aec25
rev   line source
claudinei@3338 1 # SliTaz package receipt.
claudinei@3338 2
claudinei@3338 3 PACKAGE="libsmpeg"
claudinei@14863 4 VERSION="399"
claudinei@3338 5 CATEGORY="development"
claudinei@3338 6 SHORT_DESC="Mpeg decoding library"
claudinei@3338 7 MAINTAINER="claudinei@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
claudinei@3338 9 WEB_SITE="http://icculus.org/smpeg"
pascal@5003 10 DEPENDS="libsdl gcc-lib-base"
slaxemulator@8112 11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
pascal@15661 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@8560 13 WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk"
gokhlayeh@8560 14 BRANCH="$VERSION"
claudinei@3338 15
claudinei@3338 16 # Rules to configure and make the package.
claudinei@3338 17 compile_rules()
claudinei@3338 18 {
claudinei@3338 19 cd $src
claudinei@3338 20 chmod +x install-sh
claudinei@3338 21 ./autogen.sh
claudinei@3338 22 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
slaxemulator@6692 23 make LDFLAGS+=-lstdc++ &&
pascal@15004 24 make DESTDIR=$DESTDIR install
claudinei@3338 25 }
claudinei@3338 26
claudinei@3338 27 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3338 28 genpkg_rules()
claudinei@3338 29 {
claudinei@3338 30 mkdir -p $fs/usr/lib
pascal@15004 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
claudinei@3338 32
claudinei@3338 33 }