wok-next annotate bygfoot/receipt @ rev 21688

updated glu (9.0.0 -> 9.0.1)
author Hans-G?nter Theisgen
date Mon Jun 29 17:17:08 2020 +0100 (2020-06-29)
parents d5aab818505e
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
ben@5764 2
ben@5764 3 PACKAGE="bygfoot"
Hans-G?nter@21534 4 VERSION="2.3.2"
ben@5764 5 CATEGORY="games"
ben@5764 6 SHORT_DESC="Manage your own football (soccer) team in a league season"
Hans-G?nter@21534 7 MAINTAINER="maintainer@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21017 9 WEB_SITE="http://www.bygfoot.com/"
al@21017 10
Hans-G?nter@21534 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@21017 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15000 13
Hans-G?nter@21534 14 BUILD_DEPENDS="atk-dev freetype-dev glib-dev gtk2-dev pango pango-dev"
ben@5764 15
Hans-G?nter@21534 16 compile_rules()
Hans-G?nter@21534 17 {
pascal@12651 18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
ben@5764 20
ben@5764 21 chmod +x configure
Hans-G?nter@21534 22 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' \
Hans-G?nter@21534 23 po/Makefile.in.in
Hans-G?nter@21534 24 ./configure \
Hans-G?nter@21534 25 --prefix=/usr \
Hans-G?nter@21534 26 --bindir=/usr/games \
Hans-G?nter@21534 27 --mandir=/usr/share/man \
ben@5765 28 $CONFIGURE_ARGS &&
al@21017 29 make $MAKEFLAGS &&
al@21020 30 make DESTDIR=$install install
ben@5764 31 }
ben@5764 32
Hans-G?nter@21534 33 genpkg_rules()
Hans-G?nter@21534 34 {
Hans-G?nter@21534 35 cp -a $install/usr $fs
ben@5764 36
ben@5764 37 # Copy .desktop file:
Hans-G?nter@21534 38 cp -a $stuff/* $fs/usr
Hans-G?nter@21534 39
Hans-G?nter@21534 40 DEPENDS="acl atk freetype glib gtk2 pango"
ben@5764 41 }