wok view bastet/receipt @ rev 22350
xarchiver: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 18 11:21:40 2019 +0100 (2019-11-18) |
parents | 11b5e93cb5f2 |
children | ff704a184c59 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bastet"
4 VERSION="0.43.1"
5 CATEGORY="games"
6 SHORT_DESC="Bastard tetris clone."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://fph.altervista.org/prog/bastet.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/fph/bastet/archive/$VERSION.tar.gz"
12 TAGS="tetris"
13 GENERIC_MENUS="no"
15 DEPENDS="gcc-lib-base glibc-base libboost-program-options libtinfo ncurses"
16 BUILD_DEPENDS="ncurses-dev libboost-dev libboost-program-options-dev \
17 libboost-tr1-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cp -a $stuff/bastet* $src
23 patch -p1 -i $stuff/install.patch
24 sed -i -e 's|tr1/tr1/unordered_set|unordered_set.hpp|' \
25 -e '/#include <set>/d' -e 's|std::tr1::|boost::|' \
26 BastetBlockChooser.hpp
28 make 2>/dev/null && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files bastet
35 cook_copy_icons
36 cp -a $install/var $fs
37 }