# SliTaz package receipt. PACKAGE="bastet" VERSION="0.43.2" CATEGORY="games" TAGS="tetris" SHORT_DESC="Bastard tetris clone." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="http://fph.altervista.org/prog/bastet.html" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/fph/bastet/archive/$VERSION.tar.gz" DEPENDS="gcc-lib-base glibc-base libboost-program-options libtinfo ncurses" BUILD_DEPENDS="libboost-dev libboost-program-options-dev libboost-tr1-dev ncurses-dev " GENERIC_MENUS="no" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { cp -a $stuff/bastet* $src patch -p1 -i $stuff/install.patch sed -i -e 's|tr1/tr1/unordered_set|unordered_set.hpp|' \ -e '/#include /d' -e 's|std::tr1::|boost::|' \ BastetBlockChooser.hpp make 2>/dev/null && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files bastet cook_copy_icons cp -a $install/var $fs }