diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2014-02-19 19:01:43 +0000 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2014-02-19 19:01:43 +0000 |
commit | 6603f6420fa03c167b64b82dad54307fc08ba954 (patch) | |
tree | df911cb5b093ded393d4db924a18e0f2c16b091b /sci-physics | |
parent | just an update (diff) | |
download | gentoo-2-6603f6420fa03c167b64b82dad54307fc08ba954.tar.gz gentoo-2-6603f6420fa03c167b64b82dad54307fc08ba954.tar.bz2 gentoo-2-6603f6420fa03c167b64b82dad54307fc08ba954.zip |
sci-physics/lammps-20140214: Install header files.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key AC91CA52)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/lammps/ChangeLog | 5 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20140214.ebuild | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog index 6d7a91be9ff8..28fb78aea63f 100644 --- a/sci-physics/lammps/ChangeLog +++ b/sci-physics/lammps/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-physics/lammps # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/ChangeLog,v 1.15 2014/02/19 16:10:49 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/ChangeLog,v 1.16 2014/02/19 19:01:43 nicolasbock Exp $ + + 19 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> lammps-20140214.ebuild: + sci-physics/lammps-20140214: Install header files. 19 Feb 2014; Christoph Junghans <ottxor@gentoo.org> lammps-20140214.ebuild: added static-libs use flag diff --git a/sci-physics/lammps/lammps-20140214.ebuild b/sci-physics/lammps/lammps-20140214.ebuild index 5e050bf98e62..a701b47bc5d1 100644 --- a/sci-physics/lammps/lammps-20140214.ebuild +++ b/sci-physics/lammps/lammps-20140214.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20140214.ebuild,v 1.2 2014/02/19 16:10:49 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20140214.ebuild,v 1.3 2014/02/19 19:01:43 nicolasbock Exp $ EAPI=5 @@ -105,9 +105,11 @@ src_compile() { emake -C src yes-shock emake -C src yes-xtc - # Build static library. - lmp_emake -C src makelib - lmp_emake -C src -f Makefile.lib serial + if use static-libs; then + # Build static library. + lmp_emake -C src makelib + lmp_emake -C src -f Makefile.lib serial + fi # Build shared library. lmp_emake -C src makeshlib @@ -125,6 +127,10 @@ src_install() { newlib.so "src/liblammps_serial.so" "liblammps.so" newbin "src/lmp_serial" "lmp" dobin tools/binary2txt + # Don't forget to add header files of optional packages as they are added + # to this ebuild. There may also be .mod files from Fortran based + # packages. + doheader -r src/*.h lib/meam/*.mod local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials" insinto "${LAMMPS_POTENTIALS}" |