wok-6.x view libsdl-image/receipt @ rev 12193

Add the famous Mailx package
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 26 01:32:05 2012 +0200 (2012-03-26)
parents 735e7c699d90
children 6eff489aa802
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"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
11 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
13 DEPENDS="libsdl libpng jpeg zlib tiff"
14 BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS \
21 LIBS=" -lz " &&
22 make && make 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
30 }