summaryrefslogtreecommitdiff
path: root/dev-libs/fuzzylite/fuzzylite-scm.ebuild
blob: f8eb7e55f91ceda43e31d1c486b6a2e9e9f92704 (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
49
50
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils cmake-utils git-r3

DESCRIPTION="A Fuzzy Logic Control Library in C++"
HOMEPAGE="http://www.fuzzylite.com/"
SRC_URI=""

EGIT_REPO_URI="git://github.com/fuzzylite/fuzzylite.git"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
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
#}