summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/fuzzylite/fuzzylite-5.0.ebuild23
-rw-r--r--dev-libs/fuzzylite/metadata.xml16
2 files changed, 22 insertions, 17 deletions
diff --git a/dev-libs/fuzzylite/fuzzylite-5.0.ebuild b/dev-libs/fuzzylite/fuzzylite-5.0.ebuild
index 38c1714..3f41bb3 100644
--- a/dev-libs/fuzzylite/fuzzylite-5.0.ebuild
+++ b/dev-libs/fuzzylite/fuzzylite-5.0.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
EAPI=5
@@ -12,31 +11,21 @@ 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}
-"
+KEYWORDS="~amd64 ~x86"
+IUSE="+c++11 static-libs"
S="${WORKDIR}/${P}/${PN}"
src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use static-libs FL_BUILD_STATIC)
+ local mycmakeargs=(
+ -DFL_BUILD_STATIC=$(usex static-libs)
-DFL_USE_FLOAT=ON
-DFL_BACKTRACE=ON
- $(cmake-utils_useno no-c++11 FL_CPP11)
+ -DFL_CPP11=$(usex c++11)
)
-
cmake-utils_src_configure
}
-#src_install() {
-# cmake-utils_src_install
-#}
-
#pkg_postinst() {
# games_pkg_postinst
#
diff --git a/dev-libs/fuzzylite/metadata.xml b/dev-libs/fuzzylite/metadata.xml
new file mode 100644
index 0000000..9d2ae5b
--- /dev/null
+++ b/dev-libs/fuzzylite/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>git@mva.name</email>
+<name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<use>
+<flag name="c++11">
+Add support for C++11
+</flag>
+</use>
+<longdescription lang="en">
+A Fuzzy Logic Control Library in C++
+</longdescription>
+</pkgmetadata>