summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-14 22:50:21 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-14 22:50:21 +0000
commit06187d88fbefd4c75e88995bf4093ad0ff920c6d (patch)
tree1e61530304602dc9bda7620c2c7280ed2fd42dfc /dev-libs/libhash
parentfix typo in CC func (diff)
downloadhistorical-06187d88fbefd4c75e88995bf4093ad0ff920c6d.tar.gz
historical-06187d88fbefd4c75e88995bf4093ad0ff920c6d.tar.bz2
historical-06187d88fbefd4c75e88995bf4093ad0ff920c6d.zip
Version bump #96070 by David Holm.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-libs/libhash')
-rw-r--r--dev-libs/libhash/ChangeLog9
-rw-r--r--dev-libs/libhash/Manifest4
-rw-r--r--dev-libs/libhash/files/digest-libhash-1.0.31
-rw-r--r--dev-libs/libhash/libhash-1.0.3.ebuild42
4 files changed, 53 insertions, 3 deletions
diff --git a/dev-libs/libhash/ChangeLog b/dev-libs/libhash/ChangeLog
index 804d82668370..769a56ee6759 100644
--- a/dev-libs/libhash/ChangeLog
+++ b/dev-libs/libhash/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libhash
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhash/ChangeLog,v 1.3 2004/07/17 09:35:17 dholm Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhash/ChangeLog,v 1.4 2005/06/14 22:50:21 vapier Exp $
+
+*libhash-1.0.3 (14 Jun 2005)
+
+ 14 Jun 2005; Mike Frysinger <vapier@gentoo.org> +libhash-1.0.3.ebuild:
+ Version bump #96070 by David Holm.
17 Jul 2004; David Holm <dholm@gentoo.org> libhash-1.0.2.ebuild:
Added to ~ppc.
diff --git a/dev-libs/libhash/Manifest b/dev-libs/libhash/Manifest
index 924ced062cfe..8efc161fe8e5 100644
--- a/dev-libs/libhash/Manifest
+++ b/dev-libs/libhash/Manifest
@@ -1,4 +1,6 @@
MD5 af5ffb3086dbf3f02ca01945cdc02f93 libhash-1.0.2.ebuild 886
-MD5 46aef3fb5fad7ef70756f297caac8efc ChangeLog 414
+MD5 735edadd8c36b3f9fa4829627a60d898 ChangeLog 556
MD5 1fb0cef8c20e31d8fee121ebb2205588 metadata.xml 221
+MD5 8a699332f82dd8d197d23439b027f6c2 libhash-1.0.3.ebuild 1094
MD5 0491f0e8b58edecf97ce9ee11718ca0d files/digest-libhash-1.0.2 63
+MD5 a053432cd8048560d960b85b46617d2c files/digest-libhash-1.0.3 63
diff --git a/dev-libs/libhash/files/digest-libhash-1.0.3 b/dev-libs/libhash/files/digest-libhash-1.0.3
new file mode 100644
index 000000000000..0ad1095dca1d
--- /dev/null
+++ b/dev-libs/libhash/files/digest-libhash-1.0.3
@@ -0,0 +1 @@
+MD5 6f432c72d4b29928fada9c28b26dc3b0 libhash-1.0.3.tar.gz 8918
diff --git a/dev-libs/libhash/libhash-1.0.3.ebuild b/dev-libs/libhash/libhash-1.0.3.ebuild
new file mode 100644
index 000000000000..d060e44fa980
--- /dev/null
+++ b/dev-libs/libhash/libhash-1.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhash/libhash-1.0.3.ebuild,v 1.1 2005/06/14 22:50:21 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="a small hash library written in C"
+HOMEPAGE="ftp://ftp.ugh.net.au/pub/unix/libhash/"
+SRC_URI="ftp://ftp.ugh.net.au/pub/unix/libhash/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc x86"
+IUSE="doc"
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ rm -f Makefile
+ $(tc-getCC) ${CFLAGS} -fPIC -shared -o libhash.so hash.c || die ".so failed"
+ $(tc-getCC) ${CFLAGS} -c -o libhash.a hash.c || die ".a failed"
+}
+
+src_test() {
+ cd tests
+ sed -i '/wrappers.h/d' *.c
+ for n in 2 3 ; do
+ $(tc-getCC) -I.. -L.. -lhash ${n}.c -o ${n} || die "compile ${n} failed"
+ LD_LIBRARY_PATH=.. ./${n} || die "test ${n} failed"
+ done
+}
+
+src_install() {
+ insinto /usr/include
+ doins hash.h || die "hash.h"
+ dolib.so libhash.so || die "dolib.so"
+ dolib.a libhash.a || die "dolib.a"
+ doman *.3 || die "doman"
+ use doc && dodoc tests/*.c
+}