diff options
Diffstat (limited to 'dev-python/apiextractor/apiextractor-0.3.3.ebuild')
-rw-r--r-- | dev-python/apiextractor/apiextractor-0.3.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/apiextractor/apiextractor-0.3.3.ebuild b/dev-python/apiextractor/apiextractor-0.3.3.ebuild new file mode 100644 index 000000000000..6537d4774465 --- /dev/null +++ b/dev-python/apiextractor/apiextractor-0.3.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/apiextractor-0.3.3.ebuild,v 1.1 2010/01/20 23:38:16 ayoy Exp $ + +EAPI="2" + +inherit cmake-utils virtualx + +DESCRIPTION="Library used to create an internal representation of an API in order to create Python bindings" +HOMEPAGE="http://www.pyside.org/" +SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=dev-libs/boost-1.41.0[python] + dev-libs/libxml2 + dev-libs/libxslt + >=x11-libs/qt-core-4.5.0 + >=x11-libs/qt-xmlpatterns-4.5.0" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + sed -e 's:cmake-${CMAKE_MAJOR_VERSION}\.${CMAKE_MINOR_VERSION}:cmake:' \ + -e '/^install/s/lib/lib${LIB_SUFFIX}/' \ + -i CMakeLists.txt || die "sed failed" +} + +src_test() { + # bug 299766 + Xemake test -C "${CMAKE_BUILD_DIR}/tests" || die "running tests failed" +} + +src_install() { + cmake-utils_src_install + dodoc AUTHORS ChangeLog || die "dodoc failed" +} |