# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mcrypt/mcrypt-2.6.5.ebuild,v 1.3 2007/05/11 19:52:12 alonbl Exp $ inherit eutils DESCRIPTION="replacement of the old unix crypt(1)" HOMEPAGE="http://mcrypt.sourceforge.net/" SRC_URI="mirror://sourceforge/mcrypt/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="nls" DEPEND=">=dev-libs/libmcrypt-2.5.8 >=app-crypt/mhash-0.9.9" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-build.patch" } src_compile() { local myconf use nls || myconf="--disable-nls" econf ${myconf} || die "configure error" emake || die "make error" } src_install() { emake install DESTDIR="${D}" || die "install error" dodoc README NEWS AUTHORS THANKS TODO }