summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-01-16 10:34:32 +0100
committerSam James <sam@gentoo.org>2023-01-17 01:52:12 +0000
commit8fc513fac039def20090edcce1af4aad26b8b328 (patch)
tree541f04d9d47854b18140485fb7e73e127d8a8c9e /dev-libs
parentdev-db/redis: add 7.0.8 (diff)
downloadgentoo-8fc513fac039def20090edcce1af4aad26b8b328.tar.gz
gentoo-8fc513fac039def20090edcce1af4aad26b8b328.tar.bz2
gentoo-8fc513fac039def20090edcce1af4aad26b8b328.zip
dev-libs/skalibs: add 2.13.0.0
The --disable-static needs to be explicitly specified in configuration phase otherwise static libraries are created. Fixes: fa63abeaab3e ("dev-libs/skalibs: drop IUSE=static-libs") Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/skalibs/Manifest1
-rw-r--r--dev-libs/skalibs/skalibs-2.13.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest
index 990292cbd66c..10c7dedca892 100644
--- a/dev-libs/skalibs/Manifest
+++ b/dev-libs/skalibs/Manifest
@@ -1 +1,2 @@
DIST skalibs-2.12.0.1.tar.gz 222717 BLAKE2B f094677bbe2efe4c4dcd4359bdfaafa07dc2d436691517a868870e88a360fed8fe81008ebb5ad6f2737d12764a8313b20c31fb52e0c424174744451eca991d9a SHA512 383961588eeb4934ef68e25764d3e258d7d9f19fdd14156490e8d9e2e111050c92b34b1786d007c269d09f82cd234bdcbecb13ef603c101e9439ce4b77a6e635
+DIST skalibs-2.13.0.0.tar.gz 227804 BLAKE2B ece7fd2152002300209e209277dd5950de07fa7754145920e9a4a0c799a29a117a55bfb4bf6fcdb8416f9f73f763e5e78873ef7c7944fea1619e1b2ea8b0f9a6 SHA512 33309cb32a15186052a451e9c1eb9f5888f03005141285d121ff41f669ed37191462415dc425d6bf35a1bb448a2e1772d07a91b43513f527acddb0d60cff8b3a
diff --git a/dev-libs/skalibs/skalibs-2.13.0.0.ebuild b/dev-libs/skalibs/skalibs-2.13.0.0.ebuild
new file mode 100644
index 000000000000..cfa99a5965d4
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.13.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 ~x86"
+IUSE="doc ipv6"
+
+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=(
+ --datadir=/etc
+ --dynlibdir=/usr/$(get_libdir)
+ --libdir=/usr/$(get_libdir)/${PN}
+ --sysdepdir=/usr/$(get_libdir)/${PN}
+ --enable-clock
+ --enable-shared
+ --disable-static
+ $(use_enable ipv6)
+ )
+
+ econf "${myconf[@]}"
+}