wok view voxelands/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 months ago)
parents dc0f7fd1ff7d
children
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
25 sed '/tar.gz/!d;/data/d;s|.*/voxelands-v*\(.*\).tar.gz".*|v\1|' | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # As gcc-4.6.3 is insufficient, the most recent version of gcc
32 # available in the cooking repository is used
33 export CC=gcc-83
34 export CXX=g++-83
36 cmake \
37 -DCMAKE_INSTALL_PREFIX=/usr \
38 -DBUILD_SERVER=1 \
39 -DBUILD_CLIENT=1 \
40 -DENABLE_AUDIO=1 \
41 -DENABLE_GETTEXT=1 \
43 make &&
44 make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p ${fs}/usr/bin
51 mkdir -p ${fs}/usr/share
53 cp -a ${install}/usr/bin/* ${fs}/usr/bin
54 cp -a ${install}/usr/share $fs/usr
55 }