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

Compress modules with xz: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 20:38:53 2012 +0200 (2012-08-23)
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 }