wok-next annotate bygfoot/receipt @ rev 14356
python-couchdbkit, python-restclient: fix TARBALL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 17 12:59:13 2013 +0200 (2013-04-17) |
parents | 8e4c74abdf74 |
children | 380ffe05937a |
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 { |
pascal@12651 | 16 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12651 | 17 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12651 | 18 |
ben@5764 | 19 cd $src |
ben@5764 | 20 |
ben@5764 | 21 chmod +x configure |
pascal@9236 | 22 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in |
ben@5765 | 23 ./configure \ |
ben@5765 | 24 --prefix=/usr \ |
ben@5765 | 25 --bindir=/usr/games \ |
ben@5765 | 26 --mandir=/usr/share/man \ |
ben@5765 | 27 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 28 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install |
ben@5764 | 29 } |
ben@5764 | 30 |
ben@5764 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
ben@5764 | 32 genpkg_rules() |
ben@5764 | 33 { |
ben@5764 | 34 mkdir -p $fs/ |
ben@5764 | 35 cp -a $_pkg/usr $fs/ |
ben@5764 | 36 |
ben@5764 | 37 # Copy .desktop file: |
pascal@9236 | 38 cp -a $stuff/* $fs/usr |
ben@5764 | 39 } |