diff options
author | 2006-01-19 00:43:03 +0000 | |
---|---|---|
committer | 2006-01-19 00:43:03 +0000 | |
commit | b2f4c4e44b0a411015a5215b155f3c333ff6b602 (patch) | |
tree | ff29c96649efe975269fdd516591434bb28c4783 | |
parent | fixed for USE=examples (diff) | |
download | sci-b2f4c4e44b0a411015a5215b155f3c333ff6b602.tar.gz sci-b2f4c4e44b0a411015a5215b155f3c333ff6b602.tar.bz2 sci-b2f4c4e44b0a411015a5215b155f3c333ff6b602.zip |
Very initial import of brlcad, from bug 77197. Does not compile here yet - needs work.
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@64 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r-- | sci-misc/brlcad/ChangeLog | 9 | ||||
-rw-r--r-- | sci-misc/brlcad/Manifest | 2 | ||||
-rw-r--r-- | sci-misc/brlcad/brlcad-7.6.6.ebuild | 75 | ||||
-rw-r--r-- | sci-misc/brlcad/files/digest-brlcad-7.6.6 | 1 |
4 files changed, 87 insertions, 0 deletions
diff --git a/sci-misc/brlcad/ChangeLog b/sci-misc/brlcad/ChangeLog new file mode 100644 index 000000000..654d6495e --- /dev/null +++ b/sci-misc/brlcad/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/plplot +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*brlcad-7.6.6 (19 January 2006) + + 19 January 2006; Marcus D. Hanwell <cryos@gentoo.org> + +brlcad-7.6.6.ebuild: + Initial import into the science overlay, bug 77197. diff --git a/sci-misc/brlcad/Manifest b/sci-misc/brlcad/Manifest new file mode 100644 index 000000000..07a56f53b --- /dev/null +++ b/sci-misc/brlcad/Manifest @@ -0,0 +1,2 @@ +MD5 a6866dff14458de13f609b14baee6f5d brlcad-7.6.6.ebuild 2222 +MD5 a59a2b5ac2565d0a2b630c1c7bfe59fa files/digest-brlcad-7.6.6 67 diff --git a/sci-misc/brlcad/brlcad-7.6.6.ebuild b/sci-misc/brlcad/brlcad-7.6.6.ebuild new file mode 100644 index 000000000..a88cba5f8 --- /dev/null +++ b/sci-misc/brlcad/brlcad-7.6.6.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="The BRL-CAD package is a powerful Constructive Solid Geometry (CSG) solid modeling system." +HOMEPAGE="http://brlcad.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL LGPL GFDL BSD" +SLOT="0" +KEYWORDS="-*" +IUSE="java pic debug proengineer optimize" + +DEPEND=">=media-libs/libsdl-1.2.0 + >=dev-lang/tcl-8.4 + >=dev-lang/tk-8.4 + media-libs/libpng + sys-libs/zlib + >=dev-tcltk/itcl-3.3 + >=dev-tcltk/iwidgets-4.0.0 + java? ( virtual/jdk )" +# >=dev-tcltk/itk-3.3 +# >=media-gfx/urt-3.1b +pkg_setup() { + if [[ "x$TCL_LIBRARY" = "x" ]]; then + ewarn "TCL_LIBRARY environment variable not set." + ewarn "This will probably cause the build to fail." + einfo "To fix manualy log as root and do:" + einfo "echo >/etc/env.d/50tcl TCL_LIBRARY=\"/usr/lib/tcl8.4\"" + einfo "env-update" + einfo "source /etc/profile" + einfo "See bug #104769 on http://bugs.gentoo.org" + fi +} +#src_unpack() { +# unpack ${A} +# cd ${S} +# epatch ${FILESDIR}/${PF}-gentoo.diff + # We must rebuild ./configure, becouse the patch modifies configure.ac. +# rm configure +# autoconf +# cd ${S} +#} + +src_compile() { + local myconf + cd ${S} + myconf="${myconf} --enable-regexp-build=no --enable-png-build=no \ + --enable-zlib-build=no --enable-urt-build=no --enable-termlib-build=no \ + --enable-tcl-build=no --enable-tk-build=no --enable-itcl-build=no \ + --enable-iwidgets-build=no --enable-urt-build=no" + + use proengineer && einfo "Enabling pro-engineer plugin support." && + myconf="${myconf} --enable-pro-engineer-plugin" + use java && einfo "Configuring with jdk support." && + myconf="${myconf} --with-jdk=`java-config -O`" + use pic && einfo "Configuring for pic code." && + myconf="${myconf} --with-pic" + use debug && einfo "Debuging support enabled" && + myconf="${myconf} --enable-debug" || + myconf="${myconf} --disable-debug" + use optimize && einfo "Enabling optimizations." && + myconf="${myconf} --enable-optimized" + + BC_RETRY=no econf $myconf || die "configure failed" + emake || die "emake failed" +} + +src_install() { + einfo install + DESTDIR="${D}" emake install || die "emake install failed" +} + diff --git a/sci-misc/brlcad/files/digest-brlcad-7.6.6 b/sci-misc/brlcad/files/digest-brlcad-7.6.6 new file mode 100644 index 000000000..4803f9f8b --- /dev/null +++ b/sci-misc/brlcad/files/digest-brlcad-7.6.6 @@ -0,0 +1 @@ +MD5 310247b10213f964c5e7438bf8105be0 brlcad-7.6.6.tar.bz2 17024173 |