summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-11-08 10:07:02 +0100
committerSam James <sam@gentoo.org>2023-11-17 11:08:03 +0000
commitb81a911b63c1ce683a5cb7aa496be68f9f9ba255 (patch)
treefd75044ffd74260e68f2df4efaee7788904c8c1d /dev-libs/skalibs
parentnet-dns/s6-dns: restrict to dev-libs/skalibs:0/2.13 (diff)
downloadgentoo-b81a911b63c1ce683a5cb7aa496be68f9f9ba255.tar.gz
gentoo-b81a911b63c1ce683a5cb7aa496be68f9f9ba255.tar.bz2
gentoo-b81a911b63c1ce683a5cb7aa496be68f9f9ba255.zip
dev-libs/skalibs: add 2.14.0.0
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/skalibs')
-rw-r--r--dev-libs/skalibs/Manifest1
-rw-r--r--dev-libs/skalibs/skalibs-2.14.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest
index e93731f881f9..47c819fe40ec 100644
--- a/dev-libs/skalibs/Manifest
+++ b/dev-libs/skalibs/Manifest
@@ -1 +1,2 @@
DIST skalibs-2.13.1.1.tar.gz 229706 BLAKE2B 299beb3136492858e1dcf221e349fde9e3ded96513b7101a55a67acb9ba51cd8ba72139c77c0ccf94948159446d3c869f185666cdc481a4159b0becf7338853a SHA512 9568c78b1a99bb183b89d0a4541fd6b2da6573215d9d58387b2cb7a439d2520f7dbb17999f5338c3e028bd425abd07230b4d12c8e3c70dfe54587b1b82af8e63
+DIST skalibs-2.14.0.0.tar.gz 235916 BLAKE2B b1e444f8afbef5cd529828ae3a31aa763208ddea35bf9f6301e9774f03c4303fa41d6929679e0b471d9ed6225015b919641564c0267d1787eab03275f479e9bb SHA512 45525cf0e573cba8100f7ccc9b6c95aa69509561c3726c95a17264f2d50410893e10ddb719d0e4481a76b7b8b6cbb42e95e68378a9f614e82fb568692a6adf66
diff --git a/dev-libs/skalibs/skalibs-2.14.0.0.ebuild b/dev-libs/skalibs/skalibs-2.14.0.0.ebuild
new file mode 100644
index 000000000000..b6a527e82d4c
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.14.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="General-purpose libraries from skarnet.org"
+HOMEPAGE="https://www.skarnet.org/software/skalibs/"
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+HTML_DOCS=( doc/. )
+
+src_prepare() {
+ default
+
+ # Avoid QA warning for LDFLAGS addition
+ sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
+
+ sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
+}
+
+src_configure() {
+ tc-export AR CC RANLIB
+
+ local myconf=(
+ --dynlibdir="/$(get_libdir)"
+ --libdir="/usr/$(get_libdir)/${PN}"
+ --sysdepdir="/usr/$(get_libdir)/${PN}"
+ --sysconfdir=/etc
+
+ --disable-static
+ --enable-clock
+ --enable-ipv6
+ --enable-shared
+ )
+
+ econf "${myconf[@]}"
+}