wok view libsmpeg/receipt @ rev 6612
Fixed giflib-dev, jpeg-dev, libpng-dev, tiff-dev, and zlib-dev. I made there wanted package be depends also since you need the .so files to compile things also most of the time.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 19:37:19 2010 +0000 (2010-10-09) |
parents | b537813316cf |
children | 17066ba98354 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg"
4 SOURCE="smpeg"
5 VERSION="389"
6 CATEGORY="development"
7 SHORT_DESC="Mpeg decoding library"
8 MAINTAINER="claudinei@slitaz.org"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION
18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
19 if [ -f $TARBALL ]; then
20 tar xzf $TARBALL
21 else
22 svn co svn://svn.icculus.org/$SOURCE/trunk \
23 -r $VERSION $SOURCE-$VERSION &&
24 tar czf $TARBALL $SOURCE-$VERSION
25 fi
26 cd $src
27 chmod +x install-sh
28 ./autogen.sh
29 ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 }