wok view bygfoot/receipt @ rev 10089

grep: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 07:13:30 2011 +0000 (2011-05-20)
parents 9e8ee203442d
children 8e4c74abdf74
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 cd $src
18 chmod +x configure
19 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
20 ./configure \
21 --prefix=/usr \
22 --bindir=/usr/games \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make -j4 && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/
32 cp -a $_pkg/usr $fs/
34 # Copy .desktop file:
35 cp -a $stuff/* $fs/usr
36 }