wok-next view minetest/receipt @ rev 20024

Up tesseract-ocr (3.05.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 12:39:31 2017 +0200 (2017-10-22)
parents a371ce86818b
children 2809ecb8c754
line source
1 # SliTaz package receipt.
3 PACKAGE="minetest"
4 VERSION="0.4.12"
5 CATEGORY="games"
6 SHORT_DESC="An InfiniMiner/Minecraft inspired game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://minetest.net/"
11 WGET_URL="https://github.com/minetest/minetest/archive/$VERSION.tar.gz"
12 TARBALL2="minetest_game-$VERSION.tar.gz"
13 WGET_URL2="https://github.com/minetest/minetest_game/archive/$VERSION.tar.gz"
14 EXTRA_SOURCE_FILES="$WGET_URL2"
16 DEPENDS="libssl libpng jpeg sqlite libvorbis openal libglu-mesa curl \
17 mesa irrlicht"
18 BUILD_DEPENDS="wget cmake libpng-dev jpeg-dev sqlite-dev libogg-dev \
19 libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev libglu-mesa-dev \
20 curl-dev mesa-dev irrlicht-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 [ -s "$SOURCES_REPOSITORY/$TARBALL2" ] || wget --no-check-certificate \
26 -O "$SOURCES_REPOSITORY/$TARBALL2" $WGET_URL2
27 cd games/
28 tar xf $SOURCES_REPOSITORY/$TARBALL2
29 cd ..
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs/
39 }