wok-current annotate guichan/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 00e3b45c063b |
children |
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@18417 | 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@25460 | 10 WEB_SITE="https://guichan.sourceforge.net/" |
pascal@24978 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" |
pascal@11222 | 12 |
pascal@15600 | 13 DEPENDS="libsdl libsdl-image" |
pascal@18417 | 14 BUILD_DEPENDS="libsdl-dev libsdl-image-dev mesa-dev" |
pascal@15600 | 15 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget --no-check-certificate -O - https://gitorious.org/guichan/mainline 2>/dev/null | \ |
pascal@24545 | 20 sed '/table class="tags"/,/table class="heads"/!d;/class="list name"/!d;s|.*">v||;s|<.*||;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
pascal@11222 | 23 # Rules to configure and make the package. |
pascal@11222 | 24 compile_rules() |
pascal@11222 | 25 { |
pascal@11222 | 26 ./configure --prefix=/usr $CONFIGURE_ARGS \ |
pascal@11222 | 27 --enable-sdl && |
pascal@11222 | 28 make && |
pascal@15600 | 29 make DESTDIR=$DESTDIR install |
pascal@11222 | 30 } |
pascal@11222 | 31 |
pascal@11222 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 33 genpkg_rules() |
pascal@11222 | 34 { |
pascal@11222 | 35 mkdir -p $fs/usr/lib |
pascal@15600 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11222 | 37 } |