wok annotate guichan/receipt @ rev 24939
f2c: add libf2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 15 16:15:33 2022 +0000 (2022-04-15) |
parents | 34df176312fc |
children | 00e3b45c063b |
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@11222 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$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 } |