wok-next annotate minetest/receipt @ rev 20855
svgcleaner: up (0.9.5); add oxipng
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 15:41:27 2018 +0300 (2018-06-26) |
parents | d43bf7aae921 |
children | 8b5b2a6d07b8 |
rev | line source |
---|---|
pascal@17696 | 1 # SliTaz package receipt. |
pascal@17696 | 2 |
pascal@17696 | 3 PACKAGE="minetest" |
pascal@20196 | 4 VERSION="0.4.16" |
pascal@17696 | 5 CATEGORY="games" |
pascal@17696 | 6 SHORT_DESC="An InfiniMiner/Minecraft inspired game." |
pascal@17696 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17696 | 8 LICENSE="MIT" |
pascal@17696 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17696 | 10 WEB_SITE="http://minetest.net/" |
pascal@17696 | 11 WGET_URL="https://github.com/minetest/minetest/archive/$VERSION.tar.gz" |
pascal@17696 | 12 TARBALL2="minetest_game-$VERSION.tar.gz" |
pascal@17696 | 13 WGET_URL2="https://github.com/minetest/minetest_game/archive/$VERSION.tar.gz" |
pascal@17697 | 14 EXTRA_SOURCE_FILES="$WGET_URL2" |
pascal@17696 | 15 |
al@20502 | 16 DEPENDS="openssl libpng16 jpeg sqlite3 libvorbis openal glu curl \ |
pascal@17696 | 17 mesa irrlicht" |
al@20513 | 18 BUILD_DEPENDS="cmake libpng16-dev jpeg-dev sqlite3-dev libogg-dev \ |
al@20502 | 19 libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev glu-dev \ |
pascal@17696 | 20 curl-dev mesa-dev irrlicht-dev" |
pascal@17696 | 21 |
pascal@17696 | 22 # Rules to configure and make the package. |
pascal@17696 | 23 compile_rules() |
pascal@17696 | 24 { |
al@20514 | 25 fix math |
al@20513 | 26 [ -s "$SRC/$TARBALL2" ] || wget --no-check-certificate \ |
al@20513 | 27 -O "$SRC/$TARBALL2" $WGET_URL2 |
pascal@17696 | 28 cd games/ |
al@20513 | 29 tar xf $SRC/$TARBALL2 |
pascal@17696 | 30 cd .. |
pascal@17696 | 31 cmake -DCMAKE_INSTALL_PREFIX=/usr . |
pascal@17696 | 32 make && |
pascal@17696 | 33 make DESTDIR=$DESTDIR install |
pascal@17696 | 34 } |
pascal@17696 | 35 |
pascal@17696 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17696 | 37 genpkg_rules() |
pascal@17696 | 38 { |
pascal@17696 | 39 cp -a $install/* $fs/ |
pascal@17696 | 40 } |