summaryrefslogtreecommitdiff
path: root/dev-libs/ferrisloki
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/ferrisloki')
-rw-r--r--dev-libs/ferrisloki/Manifest3
-rw-r--r--dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild49
-rw-r--r--dev-libs/ferrisloki/metadata.xml11
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/ferrisloki/Manifest b/dev-libs/ferrisloki/Manifest
new file mode 100644
index 000000000000..d1747afd17dd
--- /dev/null
+++ b/dev-libs/ferrisloki/Manifest
@@ -0,0 +1,3 @@
+DIST ferrisloki-3.0.13.tar.bz2 350509 BLAKE2B fb53ba610deafd52b2fc0a288e49624480957b9a29f3cb0c82a345323d2f8b7a606bfe85f26a222fabc2cca2f5ecaa1b1d31aafd05e04cb9bde1d853ff5bc114 SHA512 1ccf8118c05babd8e4856dd40d60a1340d5db40b27aa8527343dabfeec74e8cbf99a713a19028f68e6a36369670a69f769b20a80f7aad27d2ccbbda32b393d40
+EBUILD ferrisloki-3.0.13-r2.ebuild 1034 BLAKE2B 59bf80c6741583df6ed8e0ced8639854676a51ef57c93f04fee09409b47a2d3461493b818e15f8fb429c44bacc7abeabed95db78db2c00cfe2b972283793b67b SHA512 2653b98a0c94d206c6457f48595dfbe73c2956e9253643f19fce5bd2a5d482fedc45a632438f8135f15c9744bce58ac25f9924f2d205ef7bd67b21a0d7490769
+MISC metadata.xml 324 BLAKE2B 26651060a67259024686c495627c7e15ce20b9cd7da21fbfe355d2d407172b9e37e1015f1648e238c555fedf741c5d713138f3df6de82082b33b153cd29f27fd SHA512 ab505f6158ad3a071a47609be7833bda33168b023c98f0b8614d3d70aab5b5cdbc148910d3d078f190d5e69cbd998df27a2b94f11364a92cae00468d6d7516c3
diff --git a/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild b/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild
new file mode 100644
index 000000000000..3fdf609652cb
--- /dev/null
+++ b/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Loki C++ library from Modern C++ Design"
+HOMEPAGE="http://www.libferris.com/"
+SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="
+ >=dev-libs/libsigc++-2.6:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # derice this damn configure script
+ sed -i \
+ -e '/^CFLAGS/{s: -O3 : :g;s:-Wl,-O1 -Wl,--hash-style=both::;}' \
+ -e 's:-lstlport_gcc:-lstlport:' \
+ configure || die
+
+ # Fix building with libsigc++-2.6
+ find -name '*.h' -exec sed -i '/sigc++\/object.h/d' {} + || die
+ find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} + || die
+}
+
+src_configure() {
+ append-cxxflags -std=c++11
+
+ econf \
+ --disable-stlport \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ # package provides .pc files
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/dev-libs/ferrisloki/metadata.xml b/dev-libs/ferrisloki/metadata.xml
new file mode 100644
index 000000000000..505d1020ffcc
--- /dev/null
+++ b/dev-libs/ferrisloki/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cpp@gentoo.org</email>
+ <name>Gentoo C++ Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">witme</remote-id>
+ </upstream>
+</pkgmetadata>