wok view guichan/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | 34df176312fc |
children | 00e3b45c063b |
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://guichan.sourceforge.net/"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="libsdl libsdl-image"
14 BUILD_DEPENDS="libsdl-dev libsdl-image-dev mesa-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget --no-check-certificate -O - https://gitorious.org/guichan/mainline 2>/dev/null | \
20 sed '/table class="tags"/,/table class="heads"/!d;/class="list name"/!d;s|.*">v||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr $CONFIGURE_ARGS \
27 --enable-sdl &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }