# Copyright 1999-2009 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-r1.ebuild,v 1.23 2009/11/15 09:44:26 swegener Exp $ inherit flag-o-matic eutils multilib autotools java-pkg-opt-2 DESCRIPTION="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 mips ppc ppc64 s390 sh sparc x86" IUSE="java nocxx python threads" COMMONDEPEND="python? ( >=dev-lang/python-2.2 ) ! ${BEECRYPT_CONF_FILE} make check || die "self test failed" } src_install() { emake 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" }