wok-current annotate voxelands/receipt @ rev 23608
updated nnn (3.0 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 06:12:39 2020 +0100 (2020-04-14) |
parents | 8296cfe551a1 |
children | dc0f7fd1ff7d |
rev | line source |
---|---|
pascal@21786 | 1 # SliTaz package receipt. |
pascal@21786 | 2 |
pascal@21786 | 3 PACKAGE="voxelands" |
pascal@21786 | 4 VERSION="v1602.00" |
pascal@21786 | 5 CATEGORY="games" |
pascal@21786 | 6 SHORT_DESC="Voxelands sandbox construction game 3D based on Minetest" |
pascal@21786 | 7 MAINTAINER="arca1085@gmail.com <René Rivero>" |
pascal@21786 | 8 LICENSE="GPLv3" |
pascal@21786 | 9 WEB_SITE="https://gitlab.com/voxelands/voxelands" |
pascal@21786 | 10 |
pascal@21786 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21786 | 12 WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$PACKAGE-$VERSION.tar.gz --no-check-certificate" |
pascal@21786 | 13 |
pascal@21786 | 14 DEPENDS="curl irrlicht jpeg libglu-mesa libpng libspatialindex libssl \ |
pascal@21787 | 15 libvorbis luajit mesa openal sqlite gcc83-lib-base" |
pascal@21786 | 16 BUILD_DEPENDS="curl-dev freetype-dev gcc83 irrlicht-dev jpeg-dev \ |
pascal@21786 | 17 libglu-mesa-dev libogg-dev libpng-dev libspatialindex-dev \ |
pascal@21786 | 18 libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \ |
pascal@21787 | 19 xorg-libXxf86vm-dev cmake" |
pascal@21786 | 20 |
pascal@21786 | 21 # Rules to configure and make the package. |
pascal@21786 | 22 compile_rules() |
pascal@21786 | 23 { |
pascal@21786 | 24 # As gcc-4.6.3 is insufficient, the most recent version of gcc |
pascal@21786 | 25 # available in the cooking repository is used |
pascal@21786 | 26 export CC=gcc-83 |
pascal@21786 | 27 export CXX=g++-83 |
pascal@21786 | 28 |
pascal@21786 | 29 cmake \ |
pascal@21786 | 30 -DCMAKE_INSTALL_PREFIX=/usr \ |
pascal@21786 | 31 -DBUILD_SERVER=1 \ |
pascal@21786 | 32 -DBUILD_CLIENT=1 \ |
pascal@21786 | 33 -DENABLE_AUDIO=1 \ |
pascal@21786 | 34 -DENABLE_GETTEXT=1 \ |
pascal@21786 | 35 |
pascal@21786 | 36 make && |
pascal@21786 | 37 make install |
pascal@21786 | 38 } |
pascal@21786 | 39 |
pascal@21786 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21786 | 41 genpkg_rules() |
pascal@21786 | 42 { |
pascal@21786 | 43 mkdir -p ${fs}/usr/bin |
pascal@21786 | 44 mkdir -p ${fs}/usr/share |
pascal@21786 | 45 |
pascal@21786 | 46 cp -a ${install}/usr/bin/* ${fs}/usr/bin |
pascal@21786 | 47 cp -a ${install}/usr/share $fs/usr |
pascal@21786 | 48 } |