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

libtdb: no more tdb.mk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:01:32 2013 +0000 (2013-08-14)
parents 4c6b6a900860
children 17e313b5b9c1
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="-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 }