diff options
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/freecad/Manifest | 2 | ||||
-rw-r--r-- | sci-misc/freecad/freecad-0.9.2646.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sci-misc/freecad/Manifest b/sci-misc/freecad/Manifest new file mode 100644 index 0000000..39eea4b --- /dev/null +++ b/sci-misc/freecad/Manifest @@ -0,0 +1,2 @@ +DIST FreeCAD-0.9.2646.5.tar.gz 6997486 RMD160 c4c75a835bb0ace14c3df90a94bb4eb17e226b5c SHA1 6a6126baa3955dab6f973b86432b576371b12cbf SHA256 68c7eaf1d9d35a0ed0c283d7bae8bb55938d7bcc526d4f1fc2d7cbeee65a2060 +EBUILD freecad-0.9.2646.ebuild 1052 RMD160 5df51da09ef3be2db112a48586630ea1b8b65912 SHA1 64de3e8c0ebb1fbe558d8d3dc4a5a0baa351f2d3 SHA256 2efd6eec68307f176b6cabd4477185a90b7fa4fec228a01dc177b93b1199aa62 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 +} |