wok-current annotate libSDL/receipt @ rev 30
Add : libIDL, libSDL, libtool, linux-headers
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:01:32 2007 +0100 (2007-12-18) |
parents | |
children | e663de4695ec |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libSDL" |
pankso@30 | 4 VERSION="1.2.6" |
pankso@30 | 5 CATEGORY="extra" |
pankso@30 | 6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@30 | 8 DEPENDS="xorg" |
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@30 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@30 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@30 | 20 make |
pankso@30 | 21 make DESTDIR=$PWD/_pkg install |
pankso@30 | 22 } |
pankso@30 | 23 |
pankso@30 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 25 genpkg_rules() |
pankso@30 | 26 { |
pankso@30 | 27 mkdir -p $fs/usr/lib |
pankso@30 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@30 | 29 strip --strip-unneeded $fs/usr/lib/* |
pankso@30 | 30 } |