wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="guichan"
4 VERSION="0.8.2"
5 CATEGORY="development"
6 SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
7 MAINTAINER="devl547@gmail.com"
8 DEPENDS="libsdl libsdl-image"
9 BUILD_DEPENDS="libsdl-dev libsdl-image-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://guichan.sourceforge.net/"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS \
19 --enable-sdl &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }