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

gtkdialog: remove example and desktop file
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 19:42:36 2011 +0200 (2011-06-01)
parents aeefda51e196
children b7319995b37e
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 \
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 }