wok-next view libsdl-image/receipt @ rev 6931

Added make check to elfutils to see if fixes build problem.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 23 00:00:53 2010 +0000 (2010-10-23)
parents b69d57bf0722
children 8c08820e8dfb
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-image"
4 SOURCE="SDL_image"
5 VERSION="1.2.10"
6 CATEGORY="development"
7 SHORT_DESC="An image file loading library."
8 MAINTAINER="chadi.elahmad@gmail.com"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
14 DEPENDS="libsdl libpng jpeg zlib tiff"
15 BUILD_DEPENDS="$DEPENDS libsdl-dev libpng-dev jpeg-dev tiff-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --infodir=/usr/share/info \
25 LIBS=" -lz " \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }