rev |
line source |
ben@5764
|
1 # SliTaz package receipt.
|
ben@5764
|
2
|
ben@5764
|
3 PACKAGE="bygfoot"
|
ben@5764
|
4 VERSION="2.2.1"
|
ben@5764
|
5 CATEGORY="games"
|
ben@5764
|
6 SHORT_DESC="Manage your own football (soccer) team in a league season"
|
ben@5764
|
7 MAINTAINER="ben@seawolfsanctuary.com"
|
ben@5764
|
8 TARBALL="$PACKAGE-$VERSION-source.zip"
|
ben@5764
|
9 WEB_SITE="http://www.bygfoot.com/"
|
ben@5764
|
10 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
|
ben@5764
|
11 BUILD_DEPENDS="gtk+-dev glib-dev pango pango-dev atk-dev freetype-dev"
|
gokhlayeh@8806
|
12 DEPENDS="gtk+ glib pango atk freetype acl"
|
ben@5764
|
13
|
ben@5764
|
14 compile_rules()
|
ben@5764
|
15 {
|
ben@5764
|
16 mv $src-source $src
|
ben@5764
|
17 cd $src
|
ben@5764
|
18
|
ben@5764
|
19 chmod +x configure
|
ben@5765
|
20 ./configure \
|
ben@5765
|
21 --prefix=/usr \
|
ben@5765
|
22 --bindir=/usr/games \
|
ben@5765
|
23 --mandir=/usr/share/man \
|
ben@5765
|
24 $CONFIGURE_ARGS &&
|
ben@5764
|
25 make -j4 && make DESTDIR=$PWD/_pkg install
|
ben@5764
|
26 }
|
ben@5764
|
27
|
ben@5764
|
28 # Rules to gen a SliTaz package suitable for Tazpkg.
|
ben@5764
|
29 genpkg_rules()
|
ben@5764
|
30 {
|
ben@5764
|
31 mkdir -p $fs/
|
ben@5764
|
32 cp -a $_pkg/usr $fs/
|
ben@5764
|
33
|
ben@5764
|
34 # Copy .desktop file:
|
ben@5764
|
35 cp -a $WOK/$PACKAGE/stuff/* $fs/usr
|
ben@5764
|
36 }
|