summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-11-11 00:14:58 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-11-11 02:44:20 +0300
commitf87d188e857a05f84e441da2b51f916cee7974b7 (patch)
tree03c77cffe58a42e1ce4a2ac74a6c5b193fee70c6
parentdev-games/simgear: minor fixes for package (diff)
downloadgamerlay-f87d188e857a05f84e441da2b51f916cee7974b7.tar.gz
gamerlay-f87d188e857a05f84e441da2b51f916cee7974b7.tar.bz2
gamerlay-f87d188e857a05f84e441da2b51f916cee7974b7.zip
dev-libs/fuzzylite: minor fixes to package
Won't compile, failed to install. Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.11
-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>