wok-6.x view voxelands/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 8296cfe551a1 |
children | dc0f7fd1ff7d |
line source
1 # SliTaz package receipt.
3 PACKAGE="voxelands"
4 VERSION="v1602.00"
5 CATEGORY="games"
6 SHORT_DESC="Voxelands sandbox construction game 3D based on Minetest"
7 MAINTAINER="arca1085@gmail.com <René Rivero>"
8 LICENSE="GPLv3"
9 WEB_SITE="https://gitlab.com/voxelands/voxelands"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$PACKAGE-$VERSION.tar.gz --no-check-certificate"
14 DEPENDS="curl irrlicht jpeg libglu-mesa libpng libspatialindex libssl \
15 libvorbis luajit mesa openal sqlite gcc83-lib-base"
16 BUILD_DEPENDS="curl-dev freetype-dev gcc83 irrlicht-dev jpeg-dev \
17 libglu-mesa-dev libogg-dev libpng-dev libspatialindex-dev \
18 libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \
19 xorg-libXxf86vm-dev cmake"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # As gcc-4.6.3 is insufficient, the most recent version of gcc
25 # available in the cooking repository is used
26 export CC=gcc-83
27 export CXX=g++-83
29 cmake \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DBUILD_SERVER=1 \
32 -DBUILD_CLIENT=1 \
33 -DENABLE_AUDIO=1 \
34 -DENABLE_GETTEXT=1 \
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p ${fs}/usr/bin
44 mkdir -p ${fs}/usr/share
46 cp -a ${install}/usr/bin/* ${fs}/usr/bin
47 cp -a ${install}/usr/share $fs/usr
48 }