wok-4.x view libsdl/receipt @ rev 8510

Samba: read files.list directly from stuff
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 04:09:28 2011 +0100 (2011-02-12)
parents 5bd8b59f3d10
children bb74eecd3d4c
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl"
4 VERSION="1.2.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
9 BUILD_DEPENDS="xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev libglu-mesa xorg-xproto xorg-xextproto "
10 SOURCE="SDL"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.libsdl.org/"
13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
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 }
35 post_install()
36 {
37 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
38 }