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