wok view bygfoot/receipt @ rev 23006

consonance: inserted LDFLAGS
author Hans-G?nter Theisgen
date Tue Mar 03 06:48:05 2020 +0100 (2020-03-03)
parents 17e313b5b9c1
children 5f6c5106b1f5
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 compile_rules()
18 {
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
22 chmod +x configure
23 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
25 ./configure \
26 --prefix=/usr \
27 --bindir=/usr/games \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/
38 cp -a $install/usr $fs/
40 # Copy .desktop file:
41 cp -a $stuff/* $fs/usr
42 }