summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/mapcrafter/mapcrafter-9999.ebuild')
-rw-r--r--games-util/mapcrafter/mapcrafter-9999.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/games-util/mapcrafter/mapcrafter-9999.ebuild b/games-util/mapcrafter/mapcrafter-9999.ebuild
new file mode 100644
index 0000000..78272ea
--- /dev/null
+++ b/games-util/mapcrafter/mapcrafter-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="high performance Minecraft map renderer written in C++"
+HOMEPAGE="https://mapcrafter.org/"
+EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug profile"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DOPT_OPTIMIZE=Off
+ -DOPT_DEBUG=$(usex debug)
+ -DOPT_PROFILE=$(usex profile)
+ )
+
+ cmake-utils_src_configure
+}