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