wok view libsdl-image/receipt @ rev 9569

Up: xorg-xkeyboard-config to 2.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 23:11:08 2011 +0000 (2011-04-11)
parents 87e0b29a6071
children aeefda51e196
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"
12 DEPENDS="libsdl libpng jpeg zlib tiff"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --infodir=/usr/share/info \
22 LIBS=" -lz " \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }