wok-current view libsdl-image/receipt @ rev 15723
Move from undigest: poppler-qt4-apps varka varka-dev vifm tmux-mem-cpu-load (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 26 13:52:49 2013 +0000 (2013-12-26) |
parents | b7319995b37e |
children | 4cd474907d60 |
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 LICENSE="LGPL2.1"
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="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS \
22 LIBS=" -lz " &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }