wok-next view minetest/receipt @ rev 20453
Undo openssl split
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 16:28:07 2018 +0200 (2018-02-28) |
parents | 07833512a72e |
children | dd145c435e4b |
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 libpng jpeg sqlite3 libvorbis openal libglu-mesa curl \
17 mesa irrlicht"
18 BUILD_DEPENDS="wget cmake libpng-dev jpeg-dev sqlite3-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 }