wok-next annotate minetest/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents a371ce86818b
children 2809ecb8c754
rev   line source
pascal@17696 1 # SliTaz package receipt.
pascal@17696 2
pascal@17696 3 PACKAGE="minetest"
pascal@17696 4 VERSION="0.4.12"
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
pascal@17696 16 DEPENDS="libssl libpng jpeg sqlite libvorbis openal libglu-mesa curl \
pascal@17696 17 mesa irrlicht"
pascal@17696 18 BUILD_DEPENDS="wget cmake libpng-dev jpeg-dev sqlite-dev libogg-dev \
pascal@17696 19 libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev libglu-mesa-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 {
pascal@17696 25 [ -s "$SOURCES_REPOSITORY/$TARBALL2" ] || wget --no-check-certificate \
pascal@17696 26 -O "$SOURCES_REPOSITORY/$TARBALL2" $WGET_URL2
pascal@17696 27 cd games/
pascal@17696 28 tar xf $SOURCES_REPOSITORY/$TARBALL2
pascal@17696 29 cd ..
pascal@17696 30 cmake -DCMAKE_INSTALL_PREFIX=/usr .
pascal@17696 31 make &&
pascal@17696 32 make DESTDIR=$DESTDIR install
pascal@17696 33 }
pascal@17696 34
pascal@17696 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17696 36 genpkg_rules()
pascal@17696 37 {
pascal@17696 38 cp -a $install/* $fs/
pascal@17696 39 }