wok-6.x annotate guichan/receipt @ rev 25176
updated python-formalchemy (1.5.5 -> 1.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:52:21 2022 +0100 (2022-07-01) |
parents | b9659e3c2111 |
children | 7dd01dedad38 |
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@11222 | 10 WEB_SITE="http://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 } |