wok-current view guichan/receipt @ rev 25187

mencoder: reordered recipe
author Hans-G?nter Theisgen
date Tue Jul 12 10:44:40 2022 +0100 (2022-07-12)
parents b9659e3c2111
children 7dd01dedad38
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="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 }