games-util/weidu - 246.00 (waebbl)

Search

Package Information

Description:
Develop, distribute and install mods for Infinity Engine games.
Homepage:
https://www.weidu.org https://github.com/WeiDUorg/weidu
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
246.00 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Develop, distribute and install mods for Infinity Engine games."
HOMEPAGE="https://www.weidu.org https://github.com/WeiDUorg/weidu"
SRC_URI="https://github.com/WeiDUorg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"

DEPEND=">=dev-lang/ocaml-4.04.2[ocamlopt]
	dev-util/elkhound
	doc? ( >=dev-tex/hevea-2.29[ocamlopt]
		>=dev-lang/perl-5.24.3 )"
RDEPEND=""

DOCS=( README-WeiDU-Changes.txt )
HTML_DOCS=( README-WeiDU.html )

src_prepare() {
	default
	cp "${S}/sample.Configuration" "${S}/Configuration"
}

src_compile() {
	# fails sometimes when using more than one cores
	emake -j1 weidu weinstall tolower
	use doc && emake doc
}

src_install() {
	# weidu's Makefiles don't have an install target
	exeinto /usr/bin
	newexe tolower.asm.exe tolower
	newexe weidu.asm.exe weidu
	newexe weinstall.asm.exe weinstall

	use doc && einstalldocs
}

USE Flags

doc

Dependencies

DEPEND

>=dev-lang/ocaml-4.04.2[ocamlopt]
	dev-util/elkhound
	doc? ( >=dev-tex/hevea-2.29[ocamlopt]
		>=dev-lang/perl-5.24.3 )

Manifest for 246.00

Type File Size Source URLs
DIST weidu-246.00.tar.gz 736421 bytes https://github.com/WeiDUorg/weidu/archive/v246.00.tar.gz