wok view libSDL/receipt @ rev 52

Modified slitaz-base-files + slitaz-boot-scripts to avoid errosr msg
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 20 22:17:41 2007 +0100 (2007-12-20)
parents
children e663de4695ec
line source
1 # SliTaz package receipt.
3 PACKAGE="libSDL"
4 VERSION="1.2.6"
5 CATEGORY="extra"
6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg"
9 SOURCE="SDL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/"
12 WGET_URL="http://www.libsdl.org/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 strip --strip-unneeded $fs/usr/lib/*
30 }