diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-12-05 12:43:43 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-12-05 12:43:43 +0000 |
commit | f6039b4ef7d0d618379b68281e0b794b271163d9 (patch) | |
tree | 4467fed88f5ad9d8937de51be79271a4ff2739df /sci-chemistry/gabedit | |
parent | Version bump wrt #347787 by Jouni Rinne <l33tmmx@gmail.com>. Migrate to qt4-r... (diff) | |
download | gentoo-2-f6039b4ef7d0d618379b68281e0b794b271163d9.tar.gz gentoo-2-f6039b4ef7d0d618379b68281e0b794b271163d9.tar.bz2 gentoo-2-f6039b4ef7d0d618379b68281e0b794b271163d9.zip |
Version Bump
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/gabedit')
-rw-r--r-- | sci-chemistry/gabedit/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/gabedit/gabedit-2.3.3.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/sci-chemistry/gabedit/ChangeLog b/sci-chemistry/gabedit/ChangeLog index c9c9552f641d..f6087f72f0f6 100644 --- a/sci-chemistry/gabedit/ChangeLog +++ b/sci-chemistry/gabedit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/gabedit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.1 2010/11/11 11:38:02 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.2 2010/12/05 12:43:43 jlec Exp $ + +*gabedit-2.3.3 (05 Dec 2010) + + 05 Dec 2010; Justin Lecher <jlec@gentoo.org> +gabedit-2.3.3.ebuild: + Version Bump *gabedit-2.3.2 (11 Nov 2010) diff --git a/sci-chemistry/gabedit/gabedit-2.3.3.ebuild b/sci-chemistry/gabedit/gabedit-2.3.3.ebuild new file mode 100644 index 000000000000..7d81aab99fa7 --- /dev/null +++ b/sci-chemistry/gabedit/gabedit-2.3.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.3.3.ebuild,v 1.1 2010/12/05 12:43:43 jlec Exp $ + +EAPI=2 + +inherit toolchain-funcs versionator + +MY_PN=${PN/g/G} +MY_PV=$(delete_all_version_separators) +MY_P="${MY_PN}Src${MY_PV}" + +DESCRIPTION="GUI for computational chemistry packages" +HOMEPAGE="http://gabedit.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/GabeditDevloppment/${MY_PN}${MY_PV}/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND=">=x11-libs/gtk+-2.4 + x11-libs/gtkglext + x11-libs/gl2ps + virtual/opengl + virtual/glu" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + tc-export CC +} + +src_prepare() { + sed -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \ + -i "${S}/Config.h" || die + cp "${FILESDIR}"/CONFIG.Gentoo "${S}"/CONFIG + + if use openmp && tc-has-openmp; then + cat <<- EOF >> "${S}/CONFIG" + OMPLIB=-L/usr/$(get_libdir) -lgomp + OMPCFLAGS=-DENABLE_OMP -fopenmp + EOF + fi + echo "COMMONCFLAGS = ${CFLAGS} -DENABLE_DEPRECATED \$(OMPCFLAGS) \$(DRAWGEOMGL)" >> CONFIG +} + +src_compile() { + emake external_gl2ps=1 || die +} + +src_install() { + dobin ${PN} || die + dodoc ChangeLog || die +} |