wok-next view bygfoot/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 989aaeb3f8f1
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.bygfoot.com/"
11 TARBALL="$PACKAGE-$VERSION-source.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev glib-dev pango pango-dev atk-dev freetype-dev"
16 compile_rules() {
17 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
20 chmod +x configure
21 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
22 ./configure \
23 --prefix=/usr \
24 --bindir=/usr/games \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make $MAKEFLAGS &&
28 make DESTDIR=$install install
29 }
31 genpkg_rules() {
32 mkdir -p $fs/
33 cp -a $install/usr $fs/
35 # Copy .desktop file:
36 cp -a $stuff/* $fs/usr
37 DEPENDS="gtk2 glib pango atk freetype acl"
38 }