wok-next view libsdl-image/receipt @ rev 14560
thunderbird-langpack-ru: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 23 10:10:43 2013 +0200 (2013-05-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 }