summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-11-14 18:54:00 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-11-14 18:54:00 +0000
commitabb85b328ebbbdd82893b06e86ad0212acdf189d (patch)
treef0b0787da24ec803c8e374d8eefd247fb9cf6bab /dev-libs/uthash
parentVersion bump (diff)
downloadgentoo-2-abb85b328ebbbdd82893b06e86ad0212acdf189d.tar.gz
gentoo-2-abb85b328ebbbdd82893b06e86ad0212acdf189d.tar.bz2
gentoo-2-abb85b328ebbbdd82893b06e86ad0212acdf189d.zip
Initial commit. Thanks to Johan Bergström <bugs@bergstroem.nu>. Bug #205911
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r--dev-libs/uthash/ChangeLog10
-rw-r--r--dev-libs/uthash/Manifest4
-rw-r--r--dev-libs/uthash/metadata.xml18
-rw-r--r--dev-libs/uthash/uthash-1.9.4.ebuild30
4 files changed, 62 insertions, 0 deletions
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 <hwoarang@gentoo.org> +uthash-1.9.4.ebuild,
+ +metadata.xml:
+ Initial commit. Thanks to Johan Bergström <bugs@bergstroem.nu>. 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maint@gentoo.org</herd>
+<maintainer>
+<email>bugs@bergstroem.nu</email>
+<name>Johan Bergström</name>
+<description>Maintainer. Assign bugs to him</description>
+</maintainer>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+<description>Proxy maintainer. CC him on bugs</description>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
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"
+}