wok annotate guichan/receipt @ rev 16575

Up: slitaz-arm-codex, slitaz-arm-configs, slitaz-arm-rpi
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 23:25:04 2014 +0200 (2014-05-02)
parents b165a9b3b8c3
children 34df176312fc
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@15600 8 LICENSE="BSD"
pascal@11222 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11222 10 WEB_SITE="http://guichan.sourceforge.net/"
pascal@11222 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
pascal@11222 12
pascal@15600 13 DEPENDS="libsdl libsdl-image"
pascal@15600 14 BUILD_DEPENDS="libsdl-dev libsdl-image-dev"
pascal@15600 15
pascal@11222 16 # Rules to configure and make the package.
pascal@11222 17 compile_rules()
pascal@11222 18 {
pascal@11222 19 cd $src
pascal@11222 20 ./configure --prefix=/usr $CONFIGURE_ARGS \
pascal@11222 21 --enable-sdl &&
pascal@11222 22 make &&
pascal@15600 23 make DESTDIR=$DESTDIR install
pascal@11222 24 }
pascal@11222 25
pascal@11222 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11222 27 genpkg_rules()
pascal@11222 28 {
pascal@11222 29 mkdir -p $fs/usr/lib
pascal@15600 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11222 31 }