wok view guichan/receipt @ rev 25538
get-java8-jre: get version 8u361 by default
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 03 17:41:58 2023 +0100 (21 months ago) |
parents | 00e3b45c063b |
children |
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="https://guichan.sourceforge.net/"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 }