diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-07-14 01:59:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-07-14 01:59:27 +0000 |
commit | 5660744da19936a3050297c6a3605716620068b1 (patch) | |
tree | 56934323ac9da78efe14efae14bb59888fb4942b /dev-libs/libhash | |
parent | don't assign S=${WORKDIR}/${P}, trim trailing whitespace (Manifest recommit) (diff) | |
download | gentoo-2-5660744da19936a3050297c6a3605716620068b1.tar.gz gentoo-2-5660744da19936a3050297c6a3605716620068b1.tar.bz2 gentoo-2-5660744da19936a3050297c6a3605716620068b1.zip |
initial ebuild
Diffstat (limited to 'dev-libs/libhash')
-rw-r--r-- | dev-libs/libhash/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libhash/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libhash/files/digest-libhash-1.0.2 | 1 | ||||
-rw-r--r-- | dev-libs/libhash/libhash-1.0.2.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/libhash/metadata.xml | 8 |
5 files changed, 52 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..dc54c288b84b --- /dev/null +++ b/dev-libs/libhash/Manifest @@ -0,0 +1,2 @@ +MD5 ab9496108d3ff99c9548175b462657ea libhash-1.0.2.ebuild 348 +MD5 0491f0e8b58edecf97ce9ee11718ca0d files/digest-libhash-1.0.2 63 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> |