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