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

updated sg3_utils, sg3_utils-dev and libsgutils2 (1.45 -> 1.47)
author Hans-G?nter Theisgen
date Wed Jul 20 08:07:57 2022 +0100 (2022-07-20)
parents ff704a184c59
children
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 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cp -a $stuff/bastet* $src
31 patch -p1 -i $stuff/install.patch
32 sed -i -e 's|tr1/tr1/unordered_set|unordered_set.hpp|' \
33 -e '/#include <set>/d' -e 's|std::tr1::|boost::|' \
34 BastetBlockChooser.hpp
36 make 2>/dev/null &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_files bastet
44 cook_copy_icons
45 cp -a $install/var $fs
46 }