wok-current diff guichan/receipt @ rev 11806

sdcc: fix cp -u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 16:25:09 2012 +0100 (2012-02-25)
parents
children de49f29b101e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/guichan/receipt	Sat Feb 25 16:25:09 2012 +0100
     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 +}