wok-6.x view bygfoot/receipt @ rev 19541

Up cookutils (843)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 05 04:55:00 2016 +0200 (2016-12-05)
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 }