diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-21 13:43:08 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-21 13:43:08 +0000 |
commit | 0a2173a6fcdef98e96fada2d92c246304dc78d6e (patch) | |
tree | 3b6509f74a670b137c0c3656616b8940921d25e7 /sci-libs/libghemical | |
parent | Stable on amd64 wrt bug #320595 (diff) | |
download | gentoo-2-0a2173a6fcdef98e96fada2d92c246304dc78d6e.tar.gz gentoo-2-0a2173a6fcdef98e96fada2d92c246304dc78d6e.tar.bz2 gentoo-2-0a2173a6fcdef98e96fada2d92c246304dc78d6e.zip |
Version Bump, added static-libs USE
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/libghemical')
-rw-r--r-- | sci-libs/libghemical/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/libghemical/files/libghemical-2.99.1-gl.patch | 26 | ||||
-rw-r--r-- | sci-libs/libghemical/libghemical-2.99.1.ebuild | 42 |
3 files changed, 75 insertions, 1 deletions
diff --git a/sci-libs/libghemical/ChangeLog b/sci-libs/libghemical/ChangeLog index 03728941807c..064d6975d360 100644 --- a/sci-libs/libghemical/ChangeLog +++ b/sci-libs/libghemical/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/libghemical # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libghemical/ChangeLog,v 1.20 2010/06/18 17:54:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libghemical/ChangeLog,v 1.21 2010/06/21 13:43:07 jlec Exp $ + +*libghemical-2.99.1 (21 Jun 2010) + + 21 Jun 2010; Justin Lecher <jlec@gentoo.org> +libghemical-2.99.1.ebuild, + +files/libghemical-2.99.1-gl.patch: + Version Bump, added static-libs USE 18 Jun 2010; Justin Lecher <jlec@gentoo.org> libghemical-2.98.ebuild, +files/libghemical-2.98-gl.patch: diff --git a/sci-libs/libghemical/files/libghemical-2.99.1-gl.patch b/sci-libs/libghemical/files/libghemical-2.99.1-gl.patch new file mode 100644 index 000000000000..ad46079e945d --- /dev/null +++ b/sci-libs/libghemical/files/libghemical-2.99.1-gl.patch @@ -0,0 +1,26 @@ +diff --git a/configure.ac b/configure.ac +index b01e5fa..943890b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -151,7 +151,7 @@ fi + # Checks for header files. + # ^^^^^^^^^^^^^^^^^^^^^^^^ + +-AC_CHECK_HEADERS([GL/gl.h]) ++# AC_CHECK_HEADERS([GL/gl.h]) + + # Checks for typedefs, structures, and compiler characteristics. + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +diff --git a/src/typedef.h b/src/typedef.h +index 8d2efcc..0ba62fe 100644 +--- a/src/typedef.h ++++ b/src/typedef.h +@@ -27,7 +27,7 @@ + + // comment this out if you have no GL/gl.h available... + +-#define HAVE_GL_H // 2008-07-31 ; also with mingw comment this out??? ++// #define HAVE_GL_H // 2008-07-31 ; also with mingw comment this out??? + + // added by Robert Williams for Compaq cxx, alpha 11/28/01 + diff --git a/sci-libs/libghemical/libghemical-2.99.1.ebuild b/sci-libs/libghemical/libghemical-2.99.1.ebuild new file mode 100644 index 000000000000..d691ba05f1f6 --- /dev/null +++ b/sci-libs/libghemical/libghemical-2.99.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libghemical/libghemical-2.99.1.ebuild,v 1.1 2010/06/21 13:43:07 jlec Exp $ + +EAPI="3" + +inherit autotools + +DESCRIPTION="Chemical quantum mechanics and molecular mechanics" +HOMEPAGE="http://bioinformatics.org/ghemical/" +SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="mopac7 mpqc static-libs" + +RDEPEND=" + mopac7? ( >=sci-chemistry/mopac7-1.13-r1 ) + mpqc? ( + >=sci-chemistry/mpqc-2.3.1-r1 + virtual/blas + virtual/lapack )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gl.patch + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable mopac7) \ + $(use_enable mpqc) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} |