From 07c9f0c9f89568363d0e9b755e26102da764b63f Mon Sep 17 00:00:00 2001 From: Davi de Castro Reis Date: Fri, 8 Jun 2012 11:08:46 -0300 Subject: [PATCH] Updated ebuild file. --- portage/dev-libs/cmph/cmph-2.0.ebuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 portage/dev-libs/cmph/cmph-2.0.ebuild diff --git a/portage/dev-libs/cmph/cmph-2.0.ebuild b/portage/dev-libs/cmph/cmph-2.0.ebuild new file mode 100644 index 0000000..6b32ca7 --- /dev/null +++ b/portage/dev-libs/cmph/cmph-2.0.ebuild @@ -0,0 +1,20 @@ +DESCRIPTION="Library for building large minimal perfect hashes" +HOMEPAGE="http://cmph.sf.net/" +SRC_URI="mirror://sourceforge/cmph/${PN}/${P}/${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() { + emake DESTDIR=${D} install || die +}