diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-26 20:29:15 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-26 20:29:15 +0000 |
commit | 2d4052978dcf9b4925bade912fc9492a3b349eda (patch) | |
tree | 3288c31040fe0e017698e51ec3d685dc0b05f9c8 /sci-misc | |
parent | Move perl-modules to vendor-dir. Delete .packlist files (#297134) (diff) | |
download | gentoo-2-2d4052978dcf9b4925bade912fc9492a3b349eda.tar.gz gentoo-2-2d4052978dcf9b4925bade912fc9492a3b349eda.tar.bz2 gentoo-2-2d4052978dcf9b4925bade912fc9492a3b349eda.zip |
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/brlcad/ChangeLog | 8 | ||||
-rw-r--r-- | sci-misc/brlcad/brlcad-7.16.8.ebuild | 92 |
2 files changed, 99 insertions, 1 deletions
diff --git a/sci-misc/brlcad/ChangeLog b/sci-misc/brlcad/ChangeLog index 6fcf5d57cfe0..014ca86f3104 100644 --- a/sci-misc/brlcad/ChangeLog +++ b/sci-misc/brlcad/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-misc/brlcad # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/ChangeLog,v 1.5 2010/03/09 03:31:52 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/ChangeLog,v 1.6 2010/05/26 20:29:15 bicatali Exp $ + +*brlcad-7.16.8 (26 May 2010) + + 26 May 2010; Sébastien Fabbro <bicatali@gentoo.org> + +brlcad-7.16.8.ebuild: + Version bump 09 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> brlcad-7.16.6-r1.ebuild: diff --git a/sci-misc/brlcad/brlcad-7.16.8.ebuild b/sci-misc/brlcad/brlcad-7.16.8.ebuild new file mode 100644 index 000000000000..eac799497d5d --- /dev/null +++ b/sci-misc/brlcad/brlcad-7.16.8.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/brlcad-7.16.8.ebuild,v 1.1 2010/05/26 20:29:15 bicatali Exp $ + +EAPI=2 +inherit eutils java-pkg-opt-2 + +DESCRIPTION="Constructive solid geometry modeling system" +HOMEPAGE="http://brlcad.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="benchmarks debug doc examples java opengl smp X" + +RDEPEND="media-libs/libpng + sys-libs/zlib + >=sci-libs/tnt-3 + sci-libs/jama + dev-tcltk/itcl + dev-tcltk/itk + dev-tcltk/iwidgets + dev-tcltk/tkimg + sys-libs/libtermcap-compat + media-libs/urt + java? ( >=virtual/jre-1.5 ) + X? ( x11-libs/libXt x11-libs/libXi )" + +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + java? ( >=virtual/jdk-1.5 ) + doc? ( dev-libs/libxslt )" + +BRLCAD_DIR="/usr/${PN}" + +src_configure() { + myitcl="/usr/$(get_libdir)/itcl3.4" myitk="/usr/$(get_libdir)/itk3.4" + export LD_LIBRARY_PATH="${myitcl}:${myitk}:${LD_LIBRARY_PATH}" + econf \ + --disable-strict-build \ + --prefix="${BRLCAD_DIR}" \ + --datadir="/usr/share/${PN}" \ + --mandir="${BRLCAD_DIR}/man" \ + --disable-almost-everything \ + --disable-regex-build \ + --disable-png-build \ + --disable-zlib-build \ + --disable-urt-build \ + --disable-tcl-build \ + --disable-tk-build \ + --disable-itcl-build \ + --disable-tkimg-build \ + --disable-jove-build \ + --disable-tnt-install \ + --disable-iwidgets-install \ + --enable-opennurbs-build \ + --with-ldflags="-L${myitcl} -L${myitk}" \ + $(use_enable debug) \ + $(use_enable debug optimization) \ + $(use_enable debug runtime-debug) \ + $(use_enable debug verbose) \ + $(use_enable debug warnings) \ + $(use_enable debug progress) \ + $(use_enable doc documentation) \ + $(use_enable examples models-install) \ + $(use_enable smp parallel) \ + $(use_with java jdk $(java-config -O)) \ + $(use_with opengl ogl) \ + $(use_with X x) \ + $(use_with X x11) +} + +src_test() { + emake check || die "emake check failed" + if use benchmarks; then + emake benchmark || die "emake benchmark failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm -f "${D}"usr/share/brlcad/${README,NEWS,AUTHORS,HACKING,INSTALL,COPYING} + dodoc AUTHORS NEWS README HACKING TODO BUGS ChangeLog + echo "PATH=${BRLCAD_DIR}/bin" > 99brlcad + echo "MANPATH=${BRLCAD_DIR}/man" >> 99brlcad + echo "LDPATH=${myitcl}:${myitk}" >> 99brlcad + doenvd 99brlcad || die + newicon misc/macosx/Resources/ReadMe.rtfd/brlcad_logo_tiny.png brlcad.png + make_desktop_entry mged "BRL-CAD" brlcad "Graphics;Engineering" +} |