wok-6.x annotate guichan/receipt @ rev 11392

Compat: ensure that sqlite genpkg_rules() doesn't return a false failure
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:11:58 2011 +0100 (2011-12-10)
parents
children de49f29b101e
rev   line source
pascal@11222 1 # SliTaz package receipt.
pascal@11222 2
pascal@11222 3 PACKAGE="guichan"
pascal@11222 4 VERSION="0.8.2"
pascal@11222 5 CATEGORY="development"
pascal@11222 6 SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
pascal@11222 7 MAINTAINER="devl547@gmail.com"
pascal@11222 8 DEPENDS="libsdl libsdl-image"
pascal@11222 9 BUILD_DEPENDS="libsdl-dev libsdl-image-dev"
pascal@11222 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11222 11 WEB_SITE="http://guichan.sourceforge.net/"
pascal@11222 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
pascal@11222 13
pascal@11222 14 # Rules to configure and make the package.
pascal@11222 15 compile_rules()
pascal@11222 16 {
pascal@11222 17 cd $src
pascal@11222 18 ./configure --prefix=/usr $CONFIGURE_ARGS \
pascal@11222 19 --enable-sdl &&
pascal@11222 20 make &&
pascal@11222 21 make DESTDIR=$PWD/_pkg install
pascal@11222 22 }
pascal@11222 23
pascal@11222 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11222 25 genpkg_rules()
pascal@11222 26 {
pascal@11222 27 mkdir -p $fs/usr/lib
pascal@11222 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11222 29 }