# Copyright 1999-2006 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.7 2006/11/13 19:04:04 sanchan Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" 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() { 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" }