# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.1.2.ebuild,v 1.2 2005/08/11 12:45:37 herbs Exp $ inherit flag-o-matic eutils multilib DESCRIPTION="Beecrypt is a general-purpose cryptography library." HOMEPAGE="http://sourceforge.net/projects/beecrypt" SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86 ~mips ~ppc64" IUSE="python" DEPEND="python? ( >=dev-lang/python-2.2 ) ! ${BEECRYPT_CONF_FILE} make check || die "self test failed" } src_install() { make DESTDIR=${D} install || die "make install failed" # Not needed rm -f ${D}/usr/$(get_libdir)/python*/site-packages/_bc.*a dodoc BUGS README BENCHMARKS NEWS || die "dodoc failed" }