wok-current view voxelands/receipt @ rev 21881
warmux: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 18:44:01 2019 +0200 (2019-09-29) |
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 }