diff options
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r-- | dev-libs/uthash/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/uthash/metadata.xml | 9 | ||||
-rw-r--r-- | dev-libs/uthash/uthash-1.9.7.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/uthash/uthash-1.9.9.ebuild | 32 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest new file mode 100644 index 000000000000..f690b0bee193 --- /dev/null +++ b/dev-libs/uthash/Manifest @@ -0,0 +1,7 @@ +DIST uthash-1.9.7.tar.bz2 373059 SHA256 956f5c99798349c413275fe4c9ff128d72e280655dadbe4365f8e9fbda91393f SHA512 8c02f9ac846a6bfd7292724a3683ae360ff37bba8e3ca98fca106da84976cac9c61766069989ee2c633b20bf82b64658400687a7cfbccab5e98e5fb6cb2e5caa WHIRLPOOL bd673e371470d0576524a9e8f096beb7b8ae713f5bdca5b513077932e2fc78bc8e08249af8f5b6c0c213ed41775d8e5fc9483b6a330423760864ec5748dba041 +DIST uthash-1.9.9.tar.gz 225620 SHA256 f2f10115f4de03b98d8c2e860e241d165aa15019bd634ee0e3debe58341bbf0c SHA512 40b888529db6baba7bdb0a11c3f782719c40470f6b8e4d75ed480c4c465606e990abf65786156a93f4e2f9c8805cbc098550cc3c62e33b7345fa5bf6d146a8c4 WHIRLPOOL 89be54eb95221d18b1676798cd1a823d625567035f59abc5dcf6b98e7c4343422b5c049395cece8585dce5eb7f99c5fa95bdcb6c5706dd6e67560904a6fffcf4 +EBUILD uthash-1.9.7.ebuild 673 SHA256 a7dd3bf127b958566c02e86d34ad46a9eb81dfc9d4cd4f044012bbc4b63f8792 SHA512 c8fd82b22f09ab684a8c594e968f1ee95086bbfcfa52b2d07b902a3f7ab8e77f082f5e90e28996c983874e59a8176a39640f6b4de4f802a35eb923d9c0a39518 WHIRLPOOL cea8857088b1b541beaf01a40f6b0f1ecb568bf440dd104987d4fbf051ef233f50ee9494bc65249d02a7329b3fd9001f383710d7cf9c0b72abad863a7367fece +EBUILD uthash-1.9.9.ebuild 707 SHA256 9f846f263e964dcf9aa5aace27830b4018335c6a51e8539bfa3f97306373c4d5 SHA512 47a6d8963b4f1eb2b9716f42c10fcf9f71afb5c1ed92796e920365add71601a63433c33866f8c0ab142ae15e026b199e468c3e5379687dc6b0d4579827fe6eca WHIRLPOOL bde206b75ee6fedb5675a4aa34f0a2959b21dc21e664139b732f487ae4a274c3fd2a1272a55effa7fe11af622f71689b47659ac0516b28e2e9e7a23baf819ae1 +MISC ChangeLog 3168 SHA256 7ca585d95091cf50118df27dfb599cb976e58b26d1a6481853816fd708fbd1ee SHA512 bc9fe290618b48327c617f93a021555b80b3063fcb444092eccc82ec035a1a919f8a9fd9a4fce4590fca1b6298736455debe2b41d7f341573b28478acd9f91fd WHIRLPOOL b4a753d8c4be027021a7ffdf6d9e91f21e4f237e44a9f38001c6350a9fc9a1da7ff7abe7a7e5690c32bd2d62af65bc357a87f92b9d59ccbd1085ccf527ce1d51 +MISC ChangeLog-2015 1945 SHA256 8ae0ca958e9ea6f42718a19130ac8f02bdbb8992e6d0ef042bc7815d89076d28 SHA512 0d7b609493ceba7013163476c76f82a24a2e52aaef3a78b6d011235e7458ba30e2bd6c9a7d784c2c521051eb0406bb553629800c467f5019e4429be903c9f029 WHIRLPOOL c6720817f864143f8867af6fea3a46802ec8fab6be5e3f9908b9afe2e85fce7267e94fc0f48f2582cc257ec275794dbd5ffa7a1ad86f07e5939b3aed1e89ec09 +MISC metadata.xml 308 SHA256 610b2e220e2e47b4897d303e1dc9a5c486722ca1b667747865df09ed93542590 SHA512 42a39e288a9a0b85efe970ff9386b89982b52b12bc68c1162b43600406d580d48eb567dbf56fa5128938625b91ab1af7e8ac915af6d59035a3ac090091d82183 WHIRLPOOL 5e01692d42593ddace0afae0bf55a90d797dd4b0af221effb59fe5fce020fbf03397cb25b4f846dc49de5652a6516d8f19776b83feb0bd45d938e6d6ed73899a diff --git a/dev-libs/uthash/metadata.xml b/dev-libs/uthash/metadata.xml new file mode 100644 index 000000000000..d06a284b1eb4 --- /dev/null +++ b/dev-libs/uthash/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">troydhanson/uthash</remote-id> + <remote-id type="sourceforge">uthash</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/uthash/uthash-1.9.7.ebuild b/dev-libs/uthash/uthash-1.9.7.ebuild new file mode 100644 index 000000000000..84b1558ab1c8 --- /dev/null +++ b/dev-libs/uthash/uthash-1.9.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="An easy-to-use hash implementation for C programmers" +HOMEPAGE="http://uthash.sourceforge.net" +SRC_URI="mirror://sourceforge/uthash/${P}.tar.bz2" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ~ppc64 sparc x86" +IUSE="test" + +DEPEND="test? ( dev-lang/perl )" +RDEPEND="" + +src_test() { + cd tests + sed -i "/CFLAGS/s/-O3/${CFLAGS}/" Makefile || die "sed cflags failed" + emake CC="$(tc-getCC)" +} + +src_install() { + insinto /usr/include + doins src/*.h || die "doins failed" + + dodoc doc/txt/{ChangeLog,userguide,ut*}.txt +} diff --git a/dev-libs/uthash/uthash-1.9.9.ebuild b/dev-libs/uthash/uthash-1.9.9.ebuild new file mode 100644 index 000000000000..b0fb02ea111b --- /dev/null +++ b/dev-libs/uthash/uthash-1.9.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit toolchain-funcs + +DESCRIPTION="An easy-to-use hash implementation for C programmers" +HOMEPAGE="http://troydhanson.github.io/uthash/index.html" +SRC_URI="https://github.com/troydhanson/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +DEPEND="sys-apps/sed + test? ( dev-lang/perl )" +RDEPEND="" + +src_test() { + cd tests || die + sed -i "/CFLAGS/s/-O3/${CFLAGS}/" Makefile || die + emake CC="$(tc-getCC)" +} + +src_install() { + insinto /usr/include + doins src/*.h + + dodoc doc/{ChangeLog,todo,userguide,ut*}.txt +} |