diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2024-08-30 17:21:34 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2024-08-30 17:21:34 +0200 |
commit | 85527bea063548a3935f0aefcd975c0c4c852467 (patch) | |
tree | 560ad0d121eead081533be3ec846858a2244d951 /dev-libs/uthash | |
parent | sys-fs/bashmount: update EAPI 7 -> 8 (diff) | |
download | gentoo-85527bea063548a3935f0aefcd975c0c4c852467.tar.gz gentoo-85527bea063548a3935f0aefcd975c0c4c852467.tar.bz2 gentoo-85527bea063548a3935f0aefcd975c0c4c852467.zip |
dev-libs/uthash: update EAPI 7 -> 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r-- | dev-libs/uthash/uthash-2.3.0-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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 +} |