wok-6.x annotate libsmpeg/receipt @ rev 12955
sqlite: add lib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 31 15:58:33 2012 +0200 (2012-05-31) |
parents | 86389dd74a35 |
children | dbc73600f8cc |
rev | line source |
---|---|
claudinei@3338 | 1 # SliTaz package receipt. |
claudinei@3338 | 2 |
claudinei@3338 | 3 PACKAGE="libsmpeg" |
slaxemulator@8601 | 4 VERSION="390" |
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" |
gokhlayeh@8560 | 11 WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk" |
gokhlayeh@8560 | 12 BRANCH="$VERSION" |
claudinei@3338 | 13 |
claudinei@3338 | 14 # Rules to configure and make the package. |
claudinei@3338 | 15 compile_rules() |
claudinei@3338 | 16 { |
claudinei@3338 | 17 cd $src |
claudinei@3338 | 18 chmod +x install-sh |
claudinei@3338 | 19 ./autogen.sh |
claudinei@3338 | 20 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS && |
slaxemulator@6692 | 21 make LDFLAGS+=-lstdc++ && |
claudinei@3338 | 22 make DESTDIR=$PWD/_pkg install |
claudinei@3338 | 23 } |
claudinei@3338 | 24 |
claudinei@3338 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3338 | 26 genpkg_rules() |
claudinei@3338 | 27 { |
claudinei@3338 | 28 mkdir -p $fs/usr/lib |
claudinei@3338 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
claudinei@3338 | 30 |
claudinei@3338 | 31 } |