wok-current view libsmpeg/receipt @ rev 17736

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