# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit subversion multilib DESCRIPTION="A CAD programm" HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page" SRC_URI="" ESVN_REPO_URI="https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk" ESVN_PROJECT="freecad" ESVN_BOOTSTRAP="autogen.sh" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/python-2.5 >=sci-libs/opencascade-5.2 x11-libs/qt-core:4 x11-libs/qt-gui:4 x11-libs/qt-svg:4 x11-libs/qt-webkit:4 =media-libs/coin-2.4.5 >=media-libs/SoQt-1.2 >=sci-libs/gts-0.7 >=sys-libs/zlib-1.0 >=dev-libs/boost-1.3 dev-python/PyQt4 >=dev-libs/xerces-c-2.7" RDEPEND="${DEPEND}" S=${ESVN_STORE_DIR}/trunk src_configure () { local myargs="--with-qt4-include=/usr/include/qt4 --with-qt4-bin=/usr/bin --with-qt4-lib=/usr/$(get_libdir)/qt4/" econf ${myargs} } src_install() { emake DESTDIR="${D}" install || die "install failed" }