summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2023-09-08 14:52:40 +0000
committerUlrich Müller <ulm@gentoo.org>2023-11-24 09:15:28 +0100
commitd25c17bdf136e7086648fdc4178ee6a82f021a55 (patch)
tree1a1cb6ea454c777bb43118f9f5b4b2e0b889fa7d /dev-libs/ferrisloki/ferrisloki-3.0.13-r3.ebuild
parentmedia-video/yle-dl: add 20231120 (diff)
downloadgentoo-d25c17bdf136e7086648fdc4178ee6a82f021a55.tar.gz
gentoo-d25c17bdf136e7086648fdc4178ee6a82f021a55.tar.bz2
gentoo-d25c17bdf136e7086648fdc4178ee6a82f021a55.zip
dev-libs/ferrisloki: update EAPI 6 -> 8
Fix the configure phase when /bin/sh -> dash. Closes: https://bugs.gentoo.org/886619 Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-libs/ferrisloki/ferrisloki-3.0.13-r3.ebuild')
-rw-r--r--dev-libs/ferrisloki/ferrisloki-3.0.13-r3.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/ferrisloki/ferrisloki-3.0.13-r3.ebuild b/dev-libs/ferrisloki/ferrisloki-3.0.13-r3.ebuild
new file mode 100644
index 000000000000..8dc40fd0ca57
--- /dev/null
+++ b/dev-libs/ferrisloki/ferrisloki-3.0.13-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic autotools
+
+DESCRIPTION="Loki C++ library from Modern C++ Design"
+HOMEPAGE="https://data-room-software.org/libferris/"
+SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND=">=dev-libs/libsigc++-2.6:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0.13-r3-configure-libsigc.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-cxxflags -std=c++11
+
+ econf
+}
+
+src_install() {
+ default
+
+ # package provides .pc files
+ find "${ED}" -name '*.la' -delete || die
+}