wok-6.x view bastet/receipt @ rev 23772

updated bastet (0.43.1 -> 0.43.2)
author Hans-G?nter Theisgen
date Fri May 15 13:58:37 2020 +0100 (2020-05-15)
parents 3937da23fe1e
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="bastet"
4 VERSION="0.43.2"
5 CATEGORY="games"
6 TAGS="tetris"
7 SHORT_DESC="Bastard tetris clone."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://fph.altervista.org/prog/bastet.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/fph/bastet/archive/$VERSION.tar.gz"
15 DEPENDS="gcc-lib-base glibc-base libboost-program-options libtinfo ncurses"
16 BUILD_DEPENDS="libboost-dev libboost-program-options-dev libboost-tr1-dev
17 ncurses-dev "
19 GENERIC_MENUS="no"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cp -a $stuff/bastet* $src
25 patch -p1 -i $stuff/install.patch
26 sed -i -e 's|tr1/tr1/unordered_set|unordered_set.hpp|' \
27 -e '/#include <set>/d' -e 's|std::tr1::|boost::|' \
28 BastetBlockChooser.hpp
30 make 2>/dev/null &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files bastet
38 cook_copy_icons
39 cp -a $install/var $fs
40 }