wok view bygfoot/receipt @ rev 25723

added recipe for xfce4-mixer-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:43:37 2024 +0100 (2 months ago)
parents 6b33f9da53d4
children
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="https://bygfoot.sourceforge.io/new/"
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-unstable/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;/tar/!d;/binary/d;s|.*/bygfoot-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
31 chmod +x configure
32 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
34 ./configure \
35 --prefix=/usr \
36 --bindir=/usr/games \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/
47 cp -a $install/usr $fs/
49 # Copy .desktop file:
50 cp -a $stuff/* $fs/usr
51 }