wok-6.x annotate bygfoot/receipt @ rev 12213

up: logrotate(3.8.1) + improve package"
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Apr 01 12:41:48 2012 +0200 (2012-04-01)
parents a224e74b2a6f
children 4c6b6a900860
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 &&
gokhlayeh@11574 25 make $MAKEFLAGS && 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 }