wok view bygfoot/receipt @ rev 20654

busybox: add cook workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 11:19:21 2019 +0100 (2019-01-13)
parents 380ffe05937a
children 0ca07b4a3ad4
line source
1 # SliTaz package receipt.
3 PACKAGE="bygfoot"
4 VERSION="2.2.1"
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 TARBALL="$PACKAGE-$VERSION-source.zip"
10 WEB_SITE="http://www.bygfoot.com/"
11 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
13 BUILD_DEPENDS="gtk+-dev glib-dev pango pango-dev atk-dev freetype-dev"
14 DEPENDS="gtk+ glib pango atk freetype acl"
16 compile_rules()
17 {
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 cd $src
23 chmod +x configure
24 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 && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/
37 cp -a $install/usr $fs/
39 # Copy .desktop file:
40 cp -a $stuff/* $fs/usr
41 }