# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-python/libopensync-plugin-python-0.22.ebuild,v 1.4 2011/02/24 05:27:21 dirtyepic Exp $ EAPI="3" PYTHON_DEPEND="2:2.5" inherit python DESCRIPTION="OpenSync Python Module" HOMEPAGE="http://www.opensync.org/" SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2" KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="LGPL-2.1" IUSE="" RDEPEND="~app-pda/libopensync-${PV} dev-libs/glib:2" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9.0" pkg_setup() { python_set_active_version 2 } src_install() { emake DESTDIR="${D}" install || die "emake install failed" find "${D}" -name '*.la' -exec rm -f {} + || die }