wok view bygfoot/receipt @ rev 13256

qemacs-tiny: -Werror=unused-but-set-variable fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 17 09:13:42 2012 +0200 (2012-08-17)
parents 8e4c74abdf74
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION-source.zip"
9 WEB_SITE="http://www.bygfoot.com/"
10 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
11 BUILD_DEPENDS="gtk+-dev glib-dev pango pango-dev atk-dev freetype-dev"
12 DEPENDS="gtk+ glib pango atk freetype acl"
14 compile_rules()
15 {
16 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
17 export LDFLAGS="-Wl,--copy-dt-needed-entries"
19 cd $src
21 chmod +x configure
22 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
23 ./configure \
24 --prefix=/usr \
25 --bindir=/usr/games \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/
35 cp -a $_pkg/usr $fs/
37 # Copy .desktop file:
38 cp -a $stuff/* $fs/usr
39 }