wok view voxelands/receipt @ rev 25372
updated trash-cli (0.17.1.14 -> 0.22.4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:58:56 2022 +0100 (2022-07-29) |
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 }