summaryrefslogtreecommitdiff
blob: 38c17148a11749ccebdb9d3f3db0ef6e812d19c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils cmake-utils

DESCRIPTION="A Fuzzy Logic Control Library in C++"
HOMEPAGE="http://www.fuzzylite.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="no-c++11 static-libs"

DEPEND=""
RDEPEND="
	${DEPEND}
"

S="${WORKDIR}/${P}/${PN}"

src_configure() {
    local mycmakeargs=(
		$(cmake-utils_use static-libs FL_BUILD_STATIC)
		-DFL_USE_FLOAT=ON
		-DFL_BACKTRACE=ON
		$(cmake-utils_useno no-c++11 FL_CPP11)
	)

	cmake-utils_src_configure
}

#src_install() {
#    cmake-utils_src_install
#}

#pkg_postinst() {
#    games_pkg_postinst
#
#	elog For the game to work properly, please copy your 
#	elog \"Heroes Of Might and Magic: The Wake  Of Gods\" 
#	elog game directory into ${GAMES_DATADIR}/${PN} .
#	elog For more information, please visit:
#	elog http://wiki.vcmi.eu/index.php?title=Installation_on_Linux
#}