# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" inherit distutils eutils SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2" DESCRIPTION="The library for Calculate 2" HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="!=dev-lang/python-2.5.2 >=dev-python/python-ldap-2.0[ssl] >=dev-python/pyxml-0.8" RDEPEND="${DEPEND}" src_unpack() { unpack "${A}" cd "${S}" # change palce of i18n files to /usr/share/calculate-2.0 epatch "${FILESDIR}/lib_i18n_path.patch" }