version bump. Thanks to Johan Bergström
authorMarkos Chandras <hwoarang@gentoo.org>
Sat, 26 Nov 2011 16:32:08 +0000 (16:32 +0000)
committerMarkos Chandras <hwoarang@gentoo.org>
Sat, 26 Nov 2011 16:32:08 +0000 (16:32 +0000)
Package-Manager: portage-2.2.0_alpha71/cvs/Linux x86_64

dev-libs/uthash/ChangeLog
dev-libs/uthash/uthash-1.9.5.ebuild [new file with mode: 0644]

index 1038454bfcdae7e652c01dd862bc104f2458c729..4d8c54b2547b6bd62495e2b0d6c03a9d0af83355 100644 (file)
@@ -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 (file)
index 0000000..9af9482
--- /dev/null
@@ -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"
+}