diff options
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r-- | dev-libs/uthash/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/uthash/files/uthash-2.1.0-cflags.patch | 4 | ||||
-rw-r--r-- | dev-libs/uthash/uthash-2.2.0.ebuild | 32 |
3 files changed, 37 insertions, 3 deletions
diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest index 2ba7a0400d31..4abc5b74ef0a 100644 --- a/dev-libs/uthash/Manifest +++ b/dev-libs/uthash/Manifest @@ -1,4 +1,6 @@ -AUX uthash-2.1.0-cflags.patch 250 BLAKE2B a42296b08231b3eb31ce0830cc07e0287ad2439c9fa239ffea3a3594f3265e3299a8800c2d44387d05666685e4b5b980306e1ebac23c2b663620d8f19f348f8f SHA512 79ad3d9d4efddc51307b6e9ec37925c46c01fb0bacdfe7343fc08a4a99278de09bdc486b59c2348116ee7b5eb5cce47935953a182f5f520f713b6ef43c9f84d4 +AUX uthash-2.1.0-cflags.patch 228 BLAKE2B 2f6e1ee3b9bcac275c40470567ff1c044f727546d7c1c62f72c6d85a38c477c7a439d1924188f046ac263f21153f5499a1aa29aa0b9061b0e683f101951f1b53 SHA512 046e619a75a8ef28c7c18d078ffba1653971536a287ded36b22c6700358351fd95b2709318ed05d68e81edc13a8f7abdb03d0c5616a01817752fec45605215c1 DIST uthash-2.1.0.tar.gz 191782 BLAKE2B 322661aca33e8df27ec3166cd16549b11f49a6f9eb12f11c78f44b75baf5d9f208825028fb3b89a380277de5784bf2d4c41a6cd2ff070b1d3cd667ec074a85d2 SHA512 c8005113a48ec7636715ecec0286a5d9086971a7267947aba9e0ad031b6113a4f38a1fb512d33d6fefb5891635fdd31169ce4d6ab04b938bda612ebbccb3eda0 +DIST uthash-2.2.0.tar.gz 191356 BLAKE2B ca07634c30f49fa21af5fed9ed254351d038ca9f831b2c3f3fb545ee451833aaec9e1666572635e2fd31d6b791fb88800e7d870aba2cda0cfbeddcba20d969a9 SHA512 441ee907adc39c9b7e9c1f478966b7e8ddebb94cb6d5db9d2db409aee9a5e237033ee8cef3fed1c719fea01c7cfb5991554ac89f5a1e59241bd5c6eb4854cebe EBUILD uthash-2.1.0.ebuild 649 BLAKE2B 3afd91e81a06ac12ff967a8196d81282596a9b5d3db5d8dcff8cbc1e20efb48839df081406f96f29b997c0184907800d3abaa6df79be0700f98e54554262c9af SHA512 47043056937f33b1fb8f74f56c6ae22dd23b684069faac09058a4a48511f3069287c4472ee9afee643d9a6bb6184bf3d08057094cc32576f09e18db20dc14a90 +EBUILD uthash-2.2.0.ebuild 660 BLAKE2B c12c11591b1d99d4ac3f43692a4306124eb287d828c52b553dcc38e67d6c3d6d9f16b7d2fcc11c615a2957117001b177d26ed83c8fe83761d08117c616d2ab79 SHA512 f644a9570054680464c26e09f821dbaee64fd17703dd80f0b5fe5e1b14a4b5580e7542dbb26960d67135918a6567ead5c23a1b2e51490b90794d68042784c846 MISC metadata.xml 255 BLAKE2B ab14729a41f74f763ae36bef2284978ccc3d74ac40ed604ff797c16ea13029db8add12376bdc72c944356971a31e17a0f8fba2f08a822cf2f69de7792ace0423 SHA512 e251c1de46006091df4d8a908a540cf1251d4e3b0f4f8c3710221e25d9d822a66d9486b3972fb06cfcfeb1f488c351b38b0aa7fab54433f70d63de7ca9dcf479 diff --git a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch index 588ec26078c0..246a5827afae 100644 --- a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch +++ b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch @@ -1,5 +1,5 @@ ---- uthash-2.1.0/tests/Makefile -+++ uthash-2.1.0/tests/Makefile +--- a/tests/Makefile ++++ b/tests/Makefile @@ -18,7 +18,7 @@ CFLAGS += -I$(HASHDIR) #CFLAGS += -DHASH_BLOOM=16 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..d8c9c97693a2 --- /dev/null +++ b/dev-libs/uthash/uthash-2.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 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 )" + +BDEPEND="test? ( dev-lang/perl )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-cflags.patch +) + +src_test() { + cd tests || die + emake CC="$(tc-getCC)" +} + +src_install() { + doheader src/*.h + dodoc doc/*.txt +} |