From 5b31198d00ec1122dd3a7833061fe47e1af27220 Mon Sep 17 00:00:00 2001
From: Markos Chandras <hwoarang@gentoo.org>
Date: Sat, 26 Nov 2011 16:32:08 +0000
Subject: version bump. Thanks to Johan Bergström
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Package-Manager: portage-2.2.0_alpha71/cvs/Linux x86_64
---
 dev-libs/uthash/ChangeLog           |  7 ++++++-
 dev-libs/uthash/uthash-1.9.5.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletion(-)
 create mode 100644 dev-libs/uthash/uthash-1.9.5.ebuild

(limited to 'dev-libs/uthash')

diff --git a/dev-libs/uthash/ChangeLog b/dev-libs/uthash/ChangeLog
index 1038454bfcda..4d8c54b2547b 100644
--- a/dev-libs/uthash/ChangeLog
+++ b/dev-libs/uthash/ChangeLog
@@ -1,6 +1,11 @@
 # 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/uthash/ChangeLog,v 1.2 2011/11/26 16:32:08 hwoarang Exp $
+
+*uthash-1.9.5 (26 Nov 2011)
+
+  26 Nov 2011; Markos Chandras <hwoarang@gentoo.org> +uthash-1.9.5.ebuild:
+  version bump. Thanks to Johan Bergström
 
 *uthash-1.9.4 (14 Nov 2011)
 
diff --git a/dev-libs/uthash/uthash-1.9.5.ebuild b/dev-libs/uthash/uthash-1.9.5.ebuild
new file mode 100644
index 000000000000..9af9482a914a
--- /dev/null
+++ b/dev-libs/uthash/uthash-1.9.5.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.5.ebuild,v 1.1 2011/11/26 16:32:08 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