wok-4.x view SDL_image/receipt @ rev 1112
iw: fake source tree before cd
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jul 19 21:06:23 2008 +0200 (2008-07-19) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="SDL_image"
4 VERSION="1.2.6"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL image support."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg libSDL"
9 BUILD_DEPENDS="xorg-dev libSDL-dev"
10 TARBALL="$PACKAGE-$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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 }