wok-6.x annotate bastet/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (18 months ago) |
parents | ff704a184c59 |
children |
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 |
pascal@24055 | 21 current_version() |
pascal@24055 | 22 { |
pascal@24055 | 23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 25 } |
pascal@24055 | 26 |
pankso@35 | 27 # Rules to configure and make the package. |
pankso@35 | 28 compile_rules() |
pankso@35 | 29 { |
Hans-G?nter@23772 | 30 cp -a $stuff/bastet* $src |
al@19275 | 31 patch -p1 -i $stuff/install.patch |
pascal@21792 | 32 sed -i -e 's|tr1/tr1/unordered_set|unordered_set.hpp|' \ |
pascal@21792 | 33 -e '/#include <set>/d' -e 's|std::tr1::|boost::|' \ |
Hans-G?nter@23772 | 34 BastetBlockChooser.hpp |
al@19275 | 35 |
Hans-G?nter@23772 | 36 make 2>/dev/null && |
Hans-G?nter@23772 | 37 make install |
pankso@35 | 38 } |
pankso@35 | 39 |
pankso@35 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 41 genpkg_rules() |
pankso@35 | 42 { |
al@19275 | 43 cook_copy_files bastet |
al@19275 | 44 cook_copy_icons |
Hans-G?nter@23772 | 45 cp -a $install/var $fs |
pankso@35 | 46 } |