diff options
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r-- | dev-libs/uthash/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/uthash/uthash-2.3.0-r1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest index 1a52704bf885..3bda78a202ae 100644 --- a/dev-libs/uthash/Manifest +++ b/dev-libs/uthash/Manifest @@ -1,4 +1,5 @@ AUX uthash-2.1.0-cflags.patch 228 BLAKE2B 2f6e1ee3b9bcac275c40470567ff1c044f727546d7c1c62f72c6d85a38c477c7a439d1924188f046ac263f21153f5499a1aa29aa0b9061b0e683f101951f1b53 SHA512 046e619a75a8ef28c7c18d078ffba1653971536a287ded36b22c6700358351fd95b2709318ed05d68e81edc13a8f7abdb03d0c5616a01817752fec45605215c1 DIST uthash-2.3.0.tar.gz 191291 BLAKE2B 473e263df9f3555c9ef41c2b39cf2ed33a4624ce7325bbe52db805ac741b8383e64f84a9e249f96faf40e0b94fa4a7fc6c0e83bebe8b3677a90cdca82a4e3f51 SHA512 3b01f1074790fb242900411cb16eb82c1a9afcf58e3196a0f4611d9d7ef94690ad38c0a500e7783d3efa20328aa8d6ab14f246be63b3b3d385502ba2b6b2a294 +EBUILD uthash-2.3.0-r1.ebuild 691 BLAKE2B d73cfbc340371e7cd5ed5b4719142e23406d54acc3701518a1cb0abba0fbd4c6806b9df01226a490c47a12582bcd84f9be26503a515daedf1ff2f6b11f78f669 SHA512 2f5a6c5f39004fed021ab377847b6df43fceb4a09defc8acc3c4bf833e3e50b0188a35ef69137c67fe0058d21e447ba7f543fef800b7d2b2526fd73c6451cf0b EBUILD uthash-2.3.0.ebuild 686 BLAKE2B 55b47ad29705ae59690ee7913e5ed1d10934601f93835e76cf454e7e722573ed7b0213543104097864eeef59e5736adc6b811f37f8e2d7cb232383877f52e114 SHA512 8acbddec748bfd69e252cbe9c15a2f035fc29ebd1a533c284ada967d95dee1da9cc040c9d48fad5ad759f4b3bba98ebb75a0b3e74476eece93f65235a00679a0 MISC metadata.xml 331 BLAKE2B 76ba42705c20d4af2dc65c5fcde3b4afdb1a9cc04c4e21dae8fba586e5d88f4d57a451aa7a45a48decab322db2e4f908d98b3fe7a49d7feb61b498e32684767e SHA512 22870b5b51a37438c16c3bd5335eab20cbc6e737a3cd98525aa3811494427513b5a9ee3bcbcf2f2dec69273edadc524bea06043173437e9c930955fd9d678611 diff --git a/dev-libs/uthash/uthash-2.3.0-r1.ebuild b/dev-libs/uthash/uthash-2.3.0-r1.ebuild new file mode 100644 index 000000000000..05c456d3d563 --- /dev/null +++ b/dev-libs/uthash/uthash-2.3.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-lang/perl )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-cflags.patch +) + +src_configure() { + tc-export CC +} + +src_test() { + emake -C tests +} + +src_install() { + doheader src/*.h + dodoc doc/*.txt +} |