wok-next view minetest/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | d43bf7aae921 |
children | 8b5b2a6d07b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="minetest"
4 VERSION="0.4.16"
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="openssl libpng16 jpeg sqlite3 libvorbis openal glu curl \
17 mesa irrlicht"
18 BUILD_DEPENDS="cmake libpng16-dev jpeg-dev sqlite3-dev libogg-dev \
19 libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev glu-dev \
20 curl-dev mesa-dev irrlicht-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 fix math
26 [ -s "$SRC/$TARBALL2" ] || wget --no-check-certificate \
27 -O "$SRC/$TARBALL2" $WGET_URL2
28 cd games/
29 tar xf $SRC/$TARBALL2
30 cd ..
31 cmake -DCMAKE_INSTALL_PREFIX=/usr .
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs/
40 }