wok-6.x diff bastet/receipt @ rev 20705

xar: add WEB_SITE (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 06 10:00:41 2019 +0100 (2019-02-06)
parents 17e313b5b9c1
children 3937da23fe1e
line diff
     1.1 --- a/bastet/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/bastet/receipt	Wed Feb 06 10:00:41 2019 +0100
     1.3 @@ -1,31 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bastet"
     1.7 -VERSION="0.43"
     1.8 +VERSION="0.43.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Bastard tetris clone."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -DEPENDS="ncurses libboost-program-options"
    1.14 -BUILD_DEPENDS="ncurses-dev libboost-dev libboost-program-options-dev"
    1.15 -TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WEB_SITE="http://fph.altervista.org/prog/bastet.shtml"
    1.17 -WGET_URL="http://fph.altervista.org/prog/files/$TARBALL"
    1.18 +WEB_SITE="http://fph.altervista.org/prog/bastet.html"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="https://github.com/fph/bastet/archive/$VERSION.tar.gz"
    1.21  TAGS="tetris"
    1.22 +GENERIC_MENUS="no"
    1.23 +
    1.24 +DEPENDS="gcc-lib-base glibc-base libboost-program-options libtinfo ncurses"
    1.25 +BUILD_DEPENDS="ncurses-dev libboost-dev libboost-program-options-dev \
    1.26 +libboost-tr1-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	export LDFLAGS="$LDFLAGS -ltinfo"
    1.32 -	make depend 2> /dev/null
    1.33 -	make
    1.34 +	cp -a $stuff/bastet* $src
    1.35 +	patch -p1 -i $stuff/install.patch
    1.36 +
    1.37 +	make 2>/dev/null && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/games $fs/var/games
    1.44 -	cp -a $src/bastet $fs/usr/games
    1.45 -	touch $fs/var/games/bastet.scores2
    1.46 -	chmod 666 $fs/var/games/bastet.scores2
    1.47 +	cook_copy_files bastet
    1.48 +	cook_copy_icons
    1.49 +	cp -a $install/var $fs
    1.50  }