wok-next annotate minetest/receipt @ rev 21683
updated glances (1.5.1 -> 3.1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:35:41 2020 +0100 (2020-06-29) |
parents | 5ffe59e2de3a |
children |
rev | line source |
---|---|
al@20969 | 1 # SliTaz package receipt v2. |
pascal@17696 | 2 |
pascal@17696 | 3 PACKAGE="minetest" |
al@20969 | 4 VERSION="0.4.17.1" |
pascal@17696 | 5 CATEGORY="games" |
al@20969 | 6 SHORT_DESC="Multiplayer infinite-world block sandbox" |
pascal@17696 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17696 | 8 LICENSE="MIT" |
al@21032 | 9 WEB_SITE="https://www.minetest.net/" |
al@20969 | 10 |
pascal@17696 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17696 | 12 WGET_URL="https://github.com/minetest/minetest/archive/$VERSION.tar.gz" |
al@20969 | 13 |
al@20969 | 14 VERSION2="0.4.17" |
al@20969 | 15 TARBALL2="minetest_game-$VERSION2.tar.gz" |
al@20969 | 16 WGET_URL2="https://github.com/minetest/minetest_game/archive/$VERSION2.tar.gz" |
al@20969 | 17 |
pascal@17697 | 18 EXTRA_SOURCE_FILES="$WGET_URL2" |
pascal@17696 | 19 |
al@20969 | 20 BUILD_DEPENDS="cmake irrlicht-dev gmp-dev jsoncpp-dev luajit-dev curl-dev \ |
al@21078 | 21 gettext-dev openal-dev libvorbis-dev libx11-dev libxext-dev \ |
al@21078 | 22 libice-dev libsm-dev freetype-dev ncurses-dev sqlite3-dev mesa-dev \ |
al@21078 | 23 glu-dev libjpeg-turbo-dev bzip2-dev zlib-dev libpng-dev doxygen graphviz" |
al@20969 | 24 SPLIT="$PACKAGE-data" |
pascal@17696 | 25 |
al@20969 | 26 compile_rules() { |
al@20969 | 27 # fix math |
al@20969 | 28 |
al@20969 | 29 [ -s "$SRC/$TARBALL2" ] || wget -O "$SRC/$TARBALL2" $WGET_URL2 |
pascal@17696 | 30 cd games/ |
al@20513 | 31 tar xf $SRC/$TARBALL2 |
al@20969 | 32 mv minetest_game-$VERSION2 minetest_game |
pascal@17696 | 33 cd .. |
al@20969 | 34 |
al@20969 | 35 cmake \ |
al@20969 | 36 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20969 | 37 -DENABLE_GETTEXT=ON \ |
al@20969 | 38 -DENABLE_GLES=ON \ |
al@20969 | 39 -DENABLE_SYSTEM_JSONCPP=ON \ |
al@20969 | 40 . && |
pascal@17696 | 41 make && |
al@20969 | 42 make install |
pascal@17696 | 43 } |
pascal@17696 | 44 |
al@20969 | 45 genpkg_rules() { |
al@20969 | 46 case $PACKAGE in |
al@20969 | 47 minetest) |
al@20969 | 48 copy bin/ |
al@20969 | 49 DEPENDS="minetest-data freetype gmp irrlicht jsoncpp libcurl \ |
al@21078 | 50 libsqlite3 libvorbis luajit mesa ncurses openal libx11 zlib" |
al@20969 | 51 ;; |
al@20969 | 52 *-data) |
al@20969 | 53 copy @std @rm |
al@20969 | 54 CAT="games|data files" |
al@20969 | 55 DEPENDS=" " |
al@20969 | 56 ;; |
al@20969 | 57 esac |
pascal@17696 | 58 } |