wok-current view voxelands/receipt @ rev 24107

updated adminer (4.7.5 -> 4.8.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:50:51 2021 +0100 (2021-09-25)
parents 3be8209f2bdf
children 076f424196b2
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 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
24 sed '/tar.gz/!d;s|.*/voxelands-\(.*\).tar.gz".*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # As gcc-4.6.3 is insufficient, the most recent version of gcc
31 # available in the cooking repository is used
32 export CC=gcc-83
33 export CXX=g++-83
35 cmake \
36 -DCMAKE_INSTALL_PREFIX=/usr \
37 -DBUILD_SERVER=1 \
38 -DBUILD_CLIENT=1 \
39 -DENABLE_AUDIO=1 \
40 -DENABLE_GETTEXT=1 \
42 make &&
43 make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p ${fs}/usr/bin
50 mkdir -p ${fs}/usr/share
52 cp -a ${install}/usr/bin/* ${fs}/usr/bin
53 cp -a ${install}/usr/share $fs/usr
54 }