diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-07-29 12:48:10 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-07-29 12:48:10 +0200 |
commit | 28aa4d61a89945eae6ce524873514f4db6218981 (patch) | |
tree | 038241c2266ea990342494d5d437551697a645a4 /sci-misc/freecad/freecad-0.9.2646.ebuild | |
parent | d6749c9c630583ea2f5f6b98eb59e52b5d9dfc5a (diff) | |
download | overlay-28aa4d61a89945eae6ce524873514f4db6218981.tar.gz overlay-28aa4d61a89945eae6ce524873514f4db6218981.tar.bz2 overlay-28aa4d61a89945eae6ce524873514f4db6218981.zip |
New packages
Diffstat (limited to '')
-rw-r--r-- | sci-misc/freecad/freecad-0.9.2646.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sci-misc/freecad/freecad-0.9.2646.ebuild b/sci-misc/freecad/freecad-0.9.2646.ebuild new file mode 100644 index 0000000..3b5a37f --- /dev/null +++ b/sci-misc/freecad/freecad-0.9.2646.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +PYTHON_DEPEND="2" + +inherit multilib python + +MY_P="FreeCAD-${PV}" + +DESCRIPTION="QT based Computer Aided Design Application" +HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/" +SRC_URI="mirror://sourceforge/free-cad/${MY_P}.5.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + sci-libs/opencascade + x11-libs/qt-gui:4 + x11-libs/qt-svg:4 + x11-libs/qt-webkit:4 + >=media-libs/coin-3.1.3 + sci-libs/gts + sys-libs/zlib + dev-libs/boost + dev-python/PyQt4 + dev-libs/xerces-c + >=media-libs/SoQt-1.4.2" +DEPEND="${RDEPEND} + dev-lang/swig" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python_set_active_version 2 +} + +src_configure () { + econf \ + --with-qt4-include="${EPREFIX}"/usr/include/qt4 \ + --with-qt4-bin="${EPREFIX}"//usr/bin \ + --with-qt4-lib="${EPREFIX}"//usr/$(get_libdir)/qt4 +} + +src_install () { + emake DESTDIR="${D}" install || die "install failed" + dodoc README.Linux ChangeLog.txt || die +} |