wok annotate libSDL/receipt @ rev 2671
Add openssl support for PHP + php-openssl
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 20 15:53:43 2009 +0200 (2009-04-20) |
parents | f3c55a5e565d |
children | a7b619564b2b |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libSDL" |
pascal@437 | 4 VERSION="1.2.13" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@30 | 6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2478 | 8 DEPENDS="xorg libiconv" |
pankso@30 | 9 SOURCE="SDL" |
pankso@30 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@30 | 11 WEB_SITE="http://www.libsdl.org/" |
pankso@30 | 12 WGET_URL="http://www.libsdl.org/release/$TARBALL" |
pankso@30 | 13 |
pankso@30 | 14 # Rules to configure and make the package. |
pankso@30 | 15 compile_rules() |
pankso@30 | 16 { |
pankso@30 | 17 cd $src |
pankso@58 | 18 ./configure \ |
pankso@58 | 19 --prefix=/usr \ |
pankso@58 | 20 --infodir=/usr/share/info \ |
pankso@58 | 21 --mandir=/usr/share/man \ |
pascal@2478 | 22 $CONFIGURE_ARGS && |
pascal@2478 | 23 make && |
pankso@30 | 24 make DESTDIR=$PWD/_pkg install |
pankso@30 | 25 } |
pankso@30 | 26 |
pankso@30 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 28 genpkg_rules() |
pankso@30 | 29 { |
pascal@437 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@30 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@437 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@437 | 33 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@30 | 34 } |