wok-4.x view libsmpeg/receipt @ rev 11659
xfe, Improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 12 22:40:16 2012 +0100 (2012-02-12) |
parents | 86389dd74a35 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg"
4 VERSION="390"
5 CATEGORY="development"
6 SHORT_DESC="Mpeg decoding library"
7 MAINTAINER="claudinei@slitaz.org"
8 WEB_SITE="http://icculus.org/smpeg"
9 DEPENDS="libsdl gcc-lib-base"
10 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
11 WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk"
12 BRANCH="$VERSION"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 chmod +x install-sh
19 ./autogen.sh
20 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
21 make LDFLAGS+=-lstdc++ &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }