wok-stable annotate bygfoot/receipt @ rev 9258

Add: linux-libre 2.6.37-libre (part 2)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 03:24:23 2011 +0100 (2011-03-15)
parents 9e8ee203442d
children 8e4c74abdf74
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 cd $src
ben@5764 17
ben@5764 18 chmod +x configure
pascal@9236 19 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
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:
pascal@9236 35 cp -a $stuff/* $fs/usr
ben@5764 36 }