SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "guichan"

# SliTaz package receipt.

PACKAGE="guichan"
VERSION="0.8.2"
CATEGORY="development"
SHORT_DESC="A portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
MAINTAINER="devl547@gmail.com"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://guichan.sourceforge.net/"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"

DEPENDS="libsdl libsdl-image"
BUILD_DEPENDS="libsdl-dev libsdl-image-dev mesa-dev"

# What is the latest version available today?
current_version()
{
    wget --no-check-certificate -O - https://gitorious.org/guichan/mainline 2>/dev/null | \
    sed '/table class="tags"/,/table class="heads"/!d;/class="list name"/!d;s|.*">v||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr $CONFIGURE_ARGS \
    --enable-sdl &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)