wok view bygfoot/receipt @ rev 9054

amule: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:38:47 2011 +0100 (2011-03-04)
parents 841fa76f975d
children a224e74b2a6f
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 mv $src-source $src
17 cd $src
19 chmod +x configure
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 $WOK/$PACKAGE/stuff/* $fs/usr
36 }