wok-6.x view libsmpeg/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | 86389dd74a35 |
children | dbc73600f8cc |
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 }