# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.2.4.ebuild,v 1.8 2006/04/01 14:44:38 agriffis Exp $ inherit distutils eutils DESCRIPTION="Python bindings for BerkeleyDB" HOMEPAGE="http://pybsddb.sourceforge.net/" SRC_URI="mirror://sourceforge/pybsddb/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" IUSE="" DEPEND="virtual/python =sys-libs/db-4.2*" DOCS="README.txt TODO.txt" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-db4.2.patch } src_compile() { distutils_src_compile "--berkeley-db=/usr" } src_install() { distutils_src_install "--berkeley-db=/usr" dohtml docs/* }