summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-14 01:59:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-14 01:59:27 +0000
commitd39f32628516fc5b3944f7ea925d9e504603279c (patch)
tree9dee08b7d5630ac3cd6c276d88f2a4e964ac6f18 /dev-libs/libhash
parentdon't assign S=${WORKDIR}/${P}, trim trailing whitespace (diff)
downloadhistorical-d39f32628516fc5b3944f7ea925d9e504603279c.tar.gz
historical-d39f32628516fc5b3944f7ea925d9e504603279c.tar.bz2
historical-d39f32628516fc5b3944f7ea925d9e504603279c.zip
initial ebuild
Diffstat (limited to 'dev-libs/libhash')
-rw-r--r--dev-libs/libhash/ChangeLog8
-rw-r--r--dev-libs/libhash/Manifest14
-rw-r--r--dev-libs/libhash/files/digest-libhash-1.0.21
-rw-r--r--dev-libs/libhash/libhash-1.0.2.ebuild33
-rw-r--r--dev-libs/libhash/metadata.xml8
5 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/libhash/ChangeLog b/dev-libs/libhash/ChangeLog
new file mode 100644
index 000000000000..5237cc0d7665
--- /dev/null
+++ b/dev-libs/libhash/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-libs/libhash
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhash/ChangeLog,v 1.1 2004/07/14 01:59:27 vapier Exp $
+
+*libhash-1.0.2 (13 Jul 2004)
+
+ 13 Jul 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/dev-libs/libhash/Manifest b/dev-libs/libhash/Manifest
new file mode 100644
index 000000000000..3124c8804508
--- /dev/null
+++ b/dev-libs/libhash/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f008777c5cfc484564c4b44eb2172563 libhash-1.0.2.ebuild 864
+MD5 868d4f69ba6dc1c0aa4f7d9583ad33e1 ChangeLog 338
+MD5 1fb0cef8c20e31d8fee121ebb2205588 metadata.xml 221
+MD5 0491f0e8b58edecf97ce9ee11718ca0d files/digest-libhash-1.0.2 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.8 (GNU/Linux)
+
+iD8DBQFA9JOGHTu7gpaalycRAlOIAKCmpDphikmeftFMa6/nljYqRVSjSACg3XvR
+P6C0ORSXi5lmrt5Lb651b4o=
+=fwi0
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libhash/files/digest-libhash-1.0.2 b/dev-libs/libhash/files/digest-libhash-1.0.2
new file mode 100644
index 000000000000..745683ca61e2
--- /dev/null
+++ b/dev-libs/libhash/files/digest-libhash-1.0.2
@@ -0,0 +1 @@
+MD5 f32c9630281fb8bfc4063fb6c5a83ef6 libhash-1.0.2.tar.gz 8763
diff --git a/dev-libs/libhash/libhash-1.0.2.ebuild b/dev-libs/libhash/libhash-1.0.2.ebuild
new file mode 100644
index 000000000000..e0fa1ce9af7b
--- /dev/null
+++ b/dev-libs/libhash/libhash-1.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhash/libhash-1.0.2.ebuild,v 1.1 2004/07/14 01:59:27 vapier Exp $
+
+inherit gcc
+
+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="x86"
+IUSE="doc"
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ rm -f Makefile
+ $(gcc-getCC) ${CFLAGS} -fPIC -shared -o libhash.so hash.c || die ".so failed"
+ $(gcc-getCC) ${CFLAGS} -c -o libhash.a hash.c || die ".a failed"
+}
+
+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
+}
diff --git a/dev-libs/libhash/metadata.xml b/dev-libs/libhash/metadata.xml
new file mode 100644
index 000000000000..04cfecd9dc9b
--- /dev/null
+++ b/dev-libs/libhash/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+</maintainer>
+</pkgmetadata>