wok diff guichan/receipt @ rev 12930

celestia: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 10:08:34 2012 +0200 (2012-05-30)
parents
children de49f29b101e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/guichan/receipt	Wed May 30 10:08:34 2012 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="guichan"
     1.7 +VERSION="0.8.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +DEPENDS="libsdl libsdl-image"
    1.12 +BUILD_DEPENDS="libsdl-dev libsdl-image-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://guichan.sourceforge.net/"
    1.15 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr $CONFIGURE_ARGS \
    1.22 +	--enable-sdl &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.32 +}