wok-stable view libsmpeg/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
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 }