wok-next view libSDL/receipt @ rev 321
Desktop file for osmo
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 04 14:17:38 2008 +0100 (2008-03-04) |
parents | e663de4695ec |
children | f3c55a5e565d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libSDL"
4 VERSION="1.2.6"
5 CATEGORY="x-window"
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 \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-audio \
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 strip --strip-unneeded $fs/usr/lib/*
34 }