wok view bastet/receipt @ rev 24341

replaced cp by install in davpass and ftppass
author Hans-G?nter Theisgen
date Mon Jan 31 14:02:06 2022 +0100 (2022-01-31)
parents ff704a184c59
children 343c093ad221
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 }