wok-current annotate bygfoot/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 5f6c5106b1f5 |
children |
rev | line source |
---|---|
ben@5764 | 1 # SliTaz package receipt. |
ben@5764 | 2 |
ben@5764 | 3 PACKAGE="bygfoot" |
Hans-G?nter@22573 | 4 VERSION="2.3.2" |
ben@5764 | 5 CATEGORY="games" |
Hans-G?nter@22573 | 6 SHORT_DESC="Manage your own football (soccer) team in a league season." |
ben@5764 | 7 MAINTAINER="ben@seawolfsanctuary.com" |
pascal@15000 | 8 LICENSE="GPL2" |
ben@5764 | 9 WEB_SITE="http://www.bygfoot.com/" |
pascal@15000 | 10 |
Hans-G?nter@22573 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22573 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22573 | 13 |
Hans-G?nter@22573 | 14 DEPENDS="acl atk freetype glib gtk+ pango" |
Hans-G?nter@22573 | 15 BUILD_DEPENDS="atk-dev freetype-dev glib-dev gtk+-dev pango-dev" |
ben@5764 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24340 | 18 current_version() |
pascal@24340 | 19 { |
pascal@24384 | 20 wget -O - https://sourceforge.net/projects/bygfoot/files/bygfoot-unstable/ 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24384 | 22 sed '/scope="row/!d;/tar/!d;/binary/d;s|.*/bygfoot-||;s|.tar.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
ben@5764 | 25 compile_rules() |
ben@5764 | 26 { |
pascal@12651 | 27 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
ben@5764 | 29 |
ben@5764 | 30 chmod +x configure |
pascal@9236 | 31 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in |
Hans-G?nter@22573 | 32 |
Hans-G?nter@22573 | 33 ./configure \ |
Hans-G?nter@22573 | 34 --prefix=/usr \ |
Hans-G?nter@22573 | 35 --bindir=/usr/games \ |
Hans-G?nter@22573 | 36 --mandir=/usr/share/man \ |
ben@5765 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@22573 | 38 make $MAKEFLAGS && |
Hans-G?nter@22573 | 39 make DESTDIR=$DESTDIR install |
ben@5764 | 40 } |
ben@5764 | 41 |
ben@5764 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
ben@5764 | 43 genpkg_rules() |
ben@5764 | 44 { |
ben@5764 | 45 mkdir -p $fs/ |
Hans-G?nter@22573 | 46 cp -a $install/usr $fs/ |
ben@5764 | 47 |
ben@5764 | 48 # Copy .desktop file: |
Hans-G?nter@22573 | 49 cp -a $stuff/* $fs/usr |
ben@5764 | 50 } |