wok-current annotate bygfoot/receipt @ rev 16424
slitaz-boot-scripts: adapt receipt to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 04:48:19 2014 +0200 (2014-04-18) |
parents | 4c6b6a900860 |
children | 17e313b5b9c1 |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
ben@5764 | 9 TARBALL="$PACKAGE-$VERSION-source.zip" |
ben@5764 | 10 WEB_SITE="http://www.bygfoot.com/" |
ben@5764 | 11 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL" |
pascal@15000 | 12 |
ben@5764 | 13 BUILD_DEPENDS="gtk+-dev glib-dev pango pango-dev atk-dev freetype-dev" |
gokhlayeh@8806 | 14 DEPENDS="gtk+ glib pango atk freetype acl" |
ben@5764 | 15 |
ben@5764 | 16 compile_rules() |
ben@5764 | 17 { |
pascal@12651 | 18 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12651 | 19 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12651 | 20 |
ben@5764 | 21 cd $src |
ben@5764 | 22 |
ben@5764 | 23 chmod +x configure |
pascal@9236 | 24 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in |
ben@5765 | 25 ./configure \ |
ben@5765 | 26 --prefix=/usr \ |
ben@5765 | 27 --bindir=/usr/games \ |
ben@5765 | 28 --mandir=/usr/share/man \ |
ben@5765 | 29 $CONFIGURE_ARGS && |
pascal@15000 | 30 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
ben@5764 | 31 } |
ben@5764 | 32 |
ben@5764 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
ben@5764 | 34 genpkg_rules() |
ben@5764 | 35 { |
ben@5764 | 36 mkdir -p $fs/ |
pascal@15000 | 37 cp -a $install/usr $fs/ |
ben@5764 | 38 |
ben@5764 | 39 # Copy .desktop file: |
pascal@9236 | 40 cp -a $stuff/* $fs/usr |
ben@5764 | 41 } |