/[gentoo-x86]/app-sci/mpqc/mpqc-2.1.2.ebuild
Gentoo

Contents of /app-sci/mpqc/mpqc-2.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Sep 23 08:13:05 2004 UTC (9 years, 10 months ago) by spyderous
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Pull old versions.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/mpqc/mpqc-2.1.2.ebuild,v 1.9 2004/06/24 22:10:56 agriffis Exp $
4
5 DESCRIPTION="The Massively Parallel Quantum Chemistry Program"
6 HOMEPAGE="http://aros.ca.sandia.gov/~cljanss/mpqc/"
7 SRC_URI="http://aros.ca.sandia.gov/~cljanss/mpqc/distrib/${P}.tar.gz
8 doc? ( http://aros.ca.sandia.gov/~cljanss/mpqc/distrib/${PN}-man-${PV}.tar.gz )"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86 amd64"
13 IUSE="doc X"
14
15 DEPEND="sys-devel/flex
16 app-sci/blas
17 app-sci/lapack
18 dev-lang/perl
19 X? ( virtual/x11 )"
20
21 src_compile() {
22 CFLAGS_SAVE=${CFLAGS}; CXXFLAGS_SAVE=${CXXFLAGS}
23 myconf="${myconf} --prefix=/usr"
24 use X && myconf="${myconf} --x-includes=/usr/X11R6/include \
25 --x-libraries=/usr/X11R6/lib"
26 ./configure ${myconf}
27 sed -e "s:^CFLAGS =.*$:CFLAGS=${CFLAGS_SAVE}:" \
28 -e "s:^FFLAGS =.*$:FFLAGS=${CFLAGS_SAVE}:" \
29 -e "s:^CXXFLAGS =.*$:CXXFLAGS=${CXXFLAGS_SAVE}:" \
30 lib/LocalMakefile > lib/LocalMakefile.foo
31 mv lib/LocalMakefile.foo lib/LocalMakefile
32 emake
33 }
34
35 src_install() {
36 sed -e "s:^prefix=.*$:prefix=${D}/usr:" lib/LocalMakefile \
37 > lib/LocalMakefile.foo
38 mv lib/LocalMakefile.foo lib/LocalMakefile
39 use doc && doman ${WORKDIR}/${PN}-man-${PV}/man3/*
40 make install install_devel install_inc
41 }

  ViewVC Help
Powered by ViewVC 1.1.20