wok annotate bygfoot/receipt @ rev 23928

created recipes for efivar, efivar-dev and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 07:56:48 2020 +0100 (2020-09-01)
parents 17e313b5b9c1
children 5f6c5106b1f5
rev   line source
ben@5764 1 # SliTaz package receipt.
ben@5764 2
ben@5764 3 PACKAGE="bygfoot"
Hans-G?nter@22573 4 VERSION="2.3.2"
ben@5764 5 CATEGORY="games"
Hans-G?nter@22573 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 WEB_SITE="http://www.bygfoot.com/"
pascal@15000 10
Hans-G?nter@22573 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22573 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@22573 13
Hans-G?nter@22573 14 DEPENDS="acl atk freetype glib gtk+ pango"
Hans-G?nter@22573 15 BUILD_DEPENDS="atk-dev freetype-dev glib-dev gtk+-dev pango-dev"
ben@5764 16
ben@5764 17 compile_rules()
ben@5764 18 {
pascal@12651 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
ben@5764 21
ben@5764 22 chmod +x configure
pascal@9236 23 sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
Hans-G?nter@22573 24
Hans-G?nter@22573 25 ./configure \
Hans-G?nter@22573 26 --prefix=/usr \
Hans-G?nter@22573 27 --bindir=/usr/games \
Hans-G?nter@22573 28 --mandir=/usr/share/man \
ben@5765 29 $CONFIGURE_ARGS &&
Hans-G?nter@22573 30 make $MAKEFLAGS &&
Hans-G?nter@22573 31 make DESTDIR=$DESTDIR install
ben@5764 32 }
ben@5764 33
ben@5764 34 # Rules to gen a SliTaz package suitable for Tazpkg.
ben@5764 35 genpkg_rules()
ben@5764 36 {
ben@5764 37 mkdir -p $fs/
Hans-G?nter@22573 38 cp -a $install/usr $fs/
ben@5764 39
ben@5764 40 # Copy .desktop file:
Hans-G?nter@22573 41 cp -a $stuff/* $fs/usr
ben@5764 42 }