From bbf0b5b190c97d3a244e94235a456b36136de65d Mon Sep 17 00:00:00 2001 From: davi Date: Mon, 28 Apr 2008 01:27:31 +0000 Subject: [PATCH] Updated ebuild. --- portage/dev-libs/cmph/cmph-0.8.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 portage/dev-libs/cmph/cmph-0.8.ebuild diff --git a/portage/dev-libs/cmph/cmph-0.8.ebuild b/portage/dev-libs/cmph/cmph-0.8.ebuild new file mode 100644 index 0000000..01b60eb --- /dev/null +++ b/portage/dev-libs/cmph/cmph-0.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /cvsroot/cmph/cmph/portage/dev-libs/cmph/cmph-0.8.ebuild,v 1.1 2008/04/28 01:27:31 davi Exp $ + +inherit eutils +DESCRIPTION="Library for building large minimal perfect hashes" +HOMEPAGE="http://cmph.sf.net/" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/cmph/${P}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="gcc libtool libc" +RDEPEND="libc" + +S=${WORKDIR}/${P} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die +}