summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2023-12-21 13:59:01 +0100
committerPetr Vaněk <arkamar@gentoo.org>2023-12-21 15:22:48 +0100
commitdd89d3ed75cb7ea8197fa84f242ab98b7227029c (patch)
tree8c6f1001297b2c0d61daeda8e171b3e414f18136 /dev-libs/skalibs
parentnet-misc/s6-networking: restrict to <dev-libs/skalibs-2.14.1.0 (diff)
downloadgentoo-dd89d3ed75cb7ea8197fa84f242ab98b7227029c.tar.gz
gentoo-dd89d3ed75cb7ea8197fa84f242ab98b7227029c.tar.bz2
gentoo-dd89d3ed75cb7ea8197fa84f242ab98b7227029c.zip
dev-libs/skalibs: add 2.14.1.0
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-libs/skalibs')
-rw-r--r--dev-libs/skalibs/Manifest1
-rw-r--r--dev-libs/skalibs/skalibs-2.14.1.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest
index c8085cbc02d1..905792818db1 100644
--- a/dev-libs/skalibs/Manifest
+++ b/dev-libs/skalibs/Manifest
@@ -1,3 +1,4 @@
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
DIST skalibs-2.14.0.1.tar.gz 236327 BLAKE2B 6f95bfbdbb78ebf66f3b1d5bd7be2609194302d201d4e731f99feb1c9aaff459dfa4ddc4eb71e2b950b273547a4d0202cb55b348ef6e8556fe1c13133febe615 SHA512 6236b5a37209fb13fa643faf3fc71b2593168dd32be869f7d4c118b38fb37bc0728eea2bd9e9e4277d37eda81fcc85a43731934da06a7a6cf1e756b7973cd4ab
+DIST skalibs-2.14.1.0.tar.gz 237166 BLAKE2B a787bd5aab7e22f1c49422a3010ff186a3324bcf97b32b954ef05cd8609bc19a48b06e1e14c58481f0507bad5c3bbf294121826e9fdd3f895cf5d2735ca01fe7 SHA512 41e76a52e49d8bf9458f7feee6cc85b8168a346e5688261293fc556462695b573b70c51b67d85aa0a788db1d6ecc1dfc450f8e8e9807812d149dab88028d98c0
diff --git a/dev-libs/skalibs/skalibs-2.14.1.0.ebuild b/dev-libs/skalibs/skalibs-2.14.1.0.ebuild
new file mode 100644
index 000000000000..59cce759fedd
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.14.1.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="~alpha ~amd64 ~arm ~arm64 ~mips ~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[@]}"
+}