| # Copyright 1999-2009 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/dev-python/tagpy/tagpy-0.94.5-r1.ebuild,v 1.3 2009/10/08 18:32:11 tommy Exp $ |
| |
| EAPI="2" |
| |
| inherit distutils |
| |
| DESCRIPTION="Python bindings for media-libs/taglib" |
| HOMEPAGE="http://news.tiker.net/software/tagpy/" |
| SRC_URI="http://cheeseshop.python.org/packages/source/t/${PN}/${P}.tar.gz" |
| |
| LICENSE="BSD" |
| SLOT="0" |
| KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
| IUSE="" |
| |
| RDEPEND="virtual/python |
| >=media-libs/taglib-1.4 |
| || ( <dev-libs/boost-1.35.0-r5 >=dev-libs/boost-1.35.0-r5[python] )" |
| |
| DEPEND="${RDEPEND} |
| dev-python/setuptools" |
| |
| src_configure() { |
| ./configure \ |
| --taglib-inc-dir="/usr/include/taglib" \ |
| --boost-python-libname="boost_python-mt" || die |
| } |
| |
| src_install() { |
| distutils_src_install |
| insinto /usr/share/doc/${PF}/examples |
| doins test/* |
| } |