wok-next annotate bygfoot/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents f48456621a9d
children 989aaeb3f8f1
rev   line source
al@21017 1 # SliTaz package receipt v2.
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21017 9 WEB_SITE="http://www.bygfoot.com/"
al@21017 10
ben@5764 11 TARBALL="$PACKAGE-$VERSION-source.zip"
al@21017 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15000 13
al@21017 14 BUILD_DEPENDS="gtk2-dev glib-dev pango pango-dev atk-dev freetype-dev"
ben@5764 15
al@21017 16 compile_rules() {
pascal@12651 17 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
ben@5764 19
ben@5764 20 chmod +x configure
pascal@9236 21 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
ben@5765 22 ./configure \
ben@5765 23 --prefix=/usr \
ben@5765 24 --bindir=/usr/games \
ben@5765 25 --mandir=/usr/share/man \
ben@5765 26 $CONFIGURE_ARGS &&
al@21017 27 make $MAKEFLAGS &&
al@21020 28 make DESTDIR=$install install
ben@5764 29 }
ben@5764 30
al@21017 31 genpkg_rules() {
ben@5764 32 mkdir -p $fs/
pascal@15000 33 cp -a $install/usr $fs/
ben@5764 34
ben@5764 35 # Copy .desktop file:
pascal@9236 36 cp -a $stuff/* $fs/usr
al@21017 37 DEPENDS="gtk2 glib pango atk freetype acl"
ben@5764 38 }