From abb85b328ebbbdd82893b06e86ad0212acdf189d Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 14 Nov 2011 18:54:00 +0000 Subject: Initial commit. Thanks to Johan Bergström . Bug #205911 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Portage version: 2.2.0_alpha71/cvs/Linux x86_64) --- dev-libs/uthash/ChangeLog | 10 ++++++++++ dev-libs/uthash/Manifest | 4 ++++ dev-libs/uthash/metadata.xml | 18 ++++++++++++++++++ dev-libs/uthash/uthash-1.9.4.ebuild | 30 ++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 dev-libs/uthash/ChangeLog create mode 100644 dev-libs/uthash/Manifest create mode 100644 dev-libs/uthash/metadata.xml create mode 100644 dev-libs/uthash/uthash-1.9.4.ebuild diff --git a/dev-libs/uthash/ChangeLog b/dev-libs/uthash/ChangeLog new file mode 100644 index 000000000000..1038454bfcda --- /dev/null +++ b/dev-libs/uthash/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/uthash +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/uthash/ChangeLog,v 1.1 2011/11/14 18:54:00 hwoarang Exp $ + +*uthash-1.9.4 (14 Nov 2011) + + 14 Nov 2011; Markos Chandras +uthash-1.9.4.ebuild, + +metadata.xml: + Initial commit. Thanks to Johan Bergström . Bug #205911 + diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest new file mode 100644 index 000000000000..3fdd7a14baab --- /dev/null +++ b/dev-libs/uthash/Manifest @@ -0,0 +1,4 @@ +DIST uthash-1.9.4.tar.bz2 353534 RMD160 06c3ad4855eba2635f8cda2763c05c52921e6a62 SHA1 8b257ffc5a2607f04d0b93457afb7ef1e573a13b SHA256 7370afd69f755bc42927dde528995063d2ce00d0399af8bbfe337109571e8784 +EBUILD uthash-1.9.4.ebuild 712 RMD160 c214d98f7b3a10e3a193fe3f826ca02d21d7818a SHA1 d26f73d553709c2be56f4fd12f469795ccfcaa83 SHA256 dc2b2f8e7cf53253d55d32b809b02a2c608693072348d365498013834ed6cf10 +MISC ChangeLog 317 RMD160 3c52fad9654428caa4ccdc5ea6f3a0b48ac06b68 SHA1 ed97cc8d0b7fa84a43b7f4192368784983d2060d SHA256 bcef60337e6093eda1a7eca5dcd5542d5bbbb7926c0e24d3f1e0dd277925e86f +MISC metadata.xml 523 RMD160 5475a1c7e88509c835cf0b9f5f27bea9f58620f9 SHA1 c2188e7f1c1f0687a4d5c335385b5ead7270d804 SHA256 ae62953b1002dfbe2750de9b95abf01fa05d82d004ab9d9c08f815f478a48cec diff --git a/dev-libs/uthash/metadata.xml b/dev-libs/uthash/metadata.xml new file mode 100644 index 000000000000..eefb3364c3ca --- /dev/null +++ b/dev-libs/uthash/metadata.xml @@ -0,0 +1,18 @@ + + + +proxy-maint@gentoo.org + +bugs@bergstroem.nu +Johan Bergström +Maintainer. Assign bugs to him + + +hwoarang@gentoo.org +Markos Chandras +Proxy maintainer. CC him on bugs + + + + + diff --git a/dev-libs/uthash/uthash-1.9.4.ebuild b/dev-libs/uthash/uthash-1.9.4.ebuild new file mode 100644 index 000000000000..82ff317923a1 --- /dev/null +++ b/dev-libs/uthash/uthash-1.9.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/uthash/uthash-1.9.4.ebuild,v 1.1 2011/11/14 18:54:00 hwoarang Exp $ + +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 ~ppc ~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)" || die "emake failed" +} + +src_install() { + insinto /usr/include + doins src/*.h || die "doins failed" + + dodoc doc/txt/{ChangeLog,userguide,ut*}.txt || die "dodoc failed" +} -- cgit v1.2.3-65-gdbad