summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2020-12-17 23:54:02 +0000
committerSam James <sam@gentoo.org>2020-12-29 21:07:09 +0000
commit475830d7f49b86d72c0254b54d89ea6a29b672d4 (patch)
tree2825b41e59e454b0e2141b5008592d14d397065e /dev-libs/uthash
parentnet-dns/knot: bump to 2.9.8 and 3.0.3 (diff)
downloadgentoo-475830d7f49b86d72c0254b54d89ea6a29b672d4.tar.gz
gentoo-475830d7f49b86d72c0254b54d89ea6a29b672d4.tar.bz2
gentoo-475830d7f49b86d72c0254b54d89ea6a29b672d4.zip
dev-libs/uthash: Version updated to 2.2.0.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/18698 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r--dev-libs/uthash/Manifest1
-rw-r--r--dev-libs/uthash/uthash-2.2.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest
index a4cb28e3d391..30e57e1d106c 100644
--- a/dev-libs/uthash/Manifest
+++ b/dev-libs/uthash/Manifest
@@ -1 +1,2 @@
DIST uthash-2.1.0.tar.gz 191782 BLAKE2B 322661aca33e8df27ec3166cd16549b11f49a6f9eb12f11c78f44b75baf5d9f208825028fb3b89a380277de5784bf2d4c41a6cd2ff070b1d3cd667ec074a85d2 SHA512 c8005113a48ec7636715ecec0286a5d9086971a7267947aba9e0ad031b6113a4f38a1fb512d33d6fefb5891635fdd31169ce4d6ab04b938bda612ebbccb3eda0
+DIST uthash-2.2.0.tar.gz 191356 BLAKE2B ca07634c30f49fa21af5fed9ed254351d038ca9f831b2c3f3fb545ee451833aaec9e1666572635e2fd31d6b791fb88800e7d870aba2cda0cfbeddcba20d969a9 SHA512 441ee907adc39c9b7e9c1f478966b7e8ddebb94cb6d5db9d2db409aee9a5e237033ee8cef3fed1c719fea01c7cfb5991554ac89f5a1e59241bd5c6eb4854cebe
diff --git a/dev-libs/uthash/uthash-2.2.0.ebuild b/dev-libs/uthash/uthash-2.2.0.ebuild
new file mode 100644
index 000000000000..4204681a71c0
--- /dev/null
+++ b/dev-libs/uthash/uthash-2.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="An easy-to-use hash implementation for C programmers"
+HOMEPAGE="https://troydhanson.github.io/uthash/index.html"
+SRC_URI="https://github.com/troydhanson/uthash/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-lang/perl )"
+
+PATCHES=( "${FILESDIR}"/uthash-2.1.0-cflags.patch )
+
+src_test() {
+ cd tests || die
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ doheader src/*.h
+ dodoc doc/*.txt
+}