wok-6.x view libSDL/receipt @ rev 2552

apache-dev, apache-doc: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 11:20:53 2009 +0000 (2009-03-26)
parents f3c55a5e565d
children a7b619564b2b
line source
1 # SliTaz package receipt.
3 PACKAGE="libSDL"
4 VERSION="1.2.13"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg libiconv"
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 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/aclocal $fs/usr/share
34 }