wok view SDL_image/receipt @ rev 1137

Fix post_install for subdir install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 12:27:06 2008 +0000 (2008-07-24)
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 }