wok view bastet/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 5ea0ce1cecc0 |
children |
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cp -a $stuff/bastet* $src
32 patch -p1 -i $stuff/install.patch
33 sed -i -e 's|tr1/tr1/unordered_set|unordered_set.hpp|' \
34 -e '/#include <set>/d' -e 's|std::tr1::|boost::|' \
35 BastetBlockChooser.hpp
37 make 2>/dev/null &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_files bastet
45 cook_copy_icons
46 cp -a $install/var $fs
47 }