summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2014-03-01 13:23:36 +0000
committerNicolas Bock <nicolasbock@gentoo.org>2014-03-01 13:23:36 +0000
commite162141bd0246cdf389e014da54ab83581d3384b (patch)
tree47cc6dc21008580f9f4a1d38bf48349ec00143b1 /sci-physics
parentMask pango & deps before committing. (diff)
downloadhistorical-e162141bd0246cdf389e014da54ab83581d3384b.tar.gz
historical-e162141bd0246cdf389e014da54ab83581d3384b.tar.bz2
historical-e162141bd0246cdf389e014da54ab83581d3384b.zip
sci-physics/lammps: Removing old versions.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xAC91CA52
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/lammps/ChangeLog6
-rw-r--r--sci-physics/lammps/Manifest14
-rw-r--r--sci-physics/lammps/lammps-20131201.ebuild114
-rw-r--r--sci-physics/lammps/lammps-20131216.ebuild114
-rw-r--r--sci-physics/lammps/lammps-20131217.ebuild114
5 files changed, 9 insertions, 353 deletions
diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 634bd612aad4..8a6c75b94523 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -1,6 +1,10 @@
# 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.21 2014/03/01 13:21:04 nicolasbock Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/ChangeLog,v 1.22 2014/03/01 13:23:34 nicolasbock Exp $
+
+ 01 Mar 2014; Nicolas Bock <nicolasbock@gentoo.org> -lammps-20131201.ebuild,
+ -lammps-20131216.ebuild, -lammps-20131217.ebuild:
+ sci-physics/lammps: Removing old versions.
*lammps-20140226 (01 Mar 2014)
diff --git a/sci-physics/lammps/Manifest b/sci-physics/lammps/Manifest
index cf5e45813205..425a4e7b110d 100644
--- a/sci-physics/lammps/Manifest
+++ b/sci-physics/lammps/Manifest
@@ -3,16 +3,10 @@ Hash: SHA256
DIST lammps-12Feb14.tar.gz 58143004 SHA256 31f3dcc33524d56405c06306c4ef02fc4d41d72dc0b7ac3cd9ef033f42e08c3d SHA512 525b592e3b4779fffa7a96a92d6972b1bfed8b3727746b6065c9743628421aaf4fa8ba6e72d891c2c6f016f776b9155bdff9b8dfeb8ed4dec164b334253255a2 WHIRLPOOL e15a2b56ee2918a478c979239565ad01346b60d026f2a5a6051b339f08e9328c0940767843b7fd08aaa225d097fe254d0cebbd07902671404874b9d63c91916f
DIST lammps-14Feb14.tar.gz 58547063 SHA256 188aa10c8984457e5559c30396ef56a0af51c69242b6b1ac10afa29b11ace4d9 SHA512 9fea6054e507eebc3eb41e7a6685d91bd58afd4b4c4eac692bf21bfadf48d34dfe6143d1775be89badfcb3ef5ec5a81e15c06797ac055cdf149f8139c868a0f7 WHIRLPOOL 7460b93649e9c3a6e0648e6368291205e97796b536a7b51ef59766d9db65ef7b8c2a43f24194980762c9c5b2b896d75b13c14e1350ea344fc46075269c87b098
-DIST lammps-16Dec13.tar.gz 57769723 SHA256 178fa012ddb7f6b476fa5a951da04e8929bd383c4a5d8ca09c510f73a5644432 SHA512 672c7575f96c2ef03813d161c27757b17282b58f3dea466ae7297394a6519962fe72c8b4a501c193dc41398c7e49f8b1bd1059e8f4ed31600fcc813d88f3aa12 WHIRLPOOL 0976b1a2b49f09b39c2c45f4373291a5da91b0b206d691579f3324c427f4931bd358941fffe890194490ad20b1805ef69be58342b75af33c1cb935942fdf4b0f
-DIST lammps-17Dec13.tar.gz 57780188 SHA256 857b577b857b12144823249ba010b4d58029bc8616c1e4a9203fe9be3b551eda SHA512 f8a715e876f68429e9ddbb7ad67f9b9c128e3c6639436ff97f3d37b36eff3e3a51ec3ce8cafb11f526afd43ae30989f783a742393a72e698653f1e47843183bc WHIRLPOOL 5a4478e457a382031ca98cdbed32bfaeb2f37cffc5c1494f46cfbda2f04381ead09c124e0b2b2972b5ef4442bb9e88c5035e72f038833034cf1fe0f826db4bab
-DIST lammps-1Dec13.tar.gz 57750078 SHA256 44ef69f31f2066fec31a6b7c9511395c21ead00030d3a5e00efa7eb27e6314d9 SHA512 1c5b0f5e9e2e09243f6ec3ac045021f8506626f8311082fb57314246f25f7ea6bd90dacd3d89db6561d5f0039f6476fd1d9e6d09c57c1bcc63be53ac519aec07 WHIRLPOOL ea3796dbca79f97eb7f9fc5f72972a882357108792f7bb96a8a5e7f3f1614917b452e129143b4e12964e51aeaa80dde6e414ec3f4a89220a3d36d012a829f2d7
DIST lammps-1Feb14.tar.gz 57811478 SHA256 2d01ca4f2c52c18a9a95866f558b3f3857b22662415cb44fa16a5be4dd5bfe44 SHA512 aa84766d19d7f9f753792d6c3a9ba9b37faa671b4ae06ae89be6d3485a064326c79dc351cb784e6a03f5e4e046885a791274a64899ef117dd395e583eac13f3c WHIRLPOOL 4921525762c5842fe7bb96420db26553bf2ea3d91bfda52d2a9fad57f205487fe772c878d83e5b4ae146507e3a90509a4ff0b5628ebfda9a5dde82b8b3a95b3b
DIST lammps-22Jan14.tar.gz 57835694 SHA256 207facd4b2721523dc9b79d4b09b3a5d1760272d234fb2dd3ae0b2b512aebfd8 SHA512 416c35415341b77b958a9df1dd4ccffcb25e437a4516f18f1eaae47a43ce99be5dc63cfc7c160d5c7cd3b923f8136dcde254d35e25abab4bb399b71cb64065ee WHIRLPOOL 7a3a099bcd66a6bfd6dbc19b280eb20c8b53c63fd8df5a2f8d3202a38d55cccffbd04c51e79dc8b0360e6d323fa7f7bc82cdc61d286bfb848521b477a0b7072a
DIST lammps-26Feb14.tar.gz 58551714 SHA256 3dd65b7396d7e30570c6070518cb78d235273acda180f65a939aa6c95c7c1412 SHA512 d8ea6ae308691cd5452265db213146fcac39a0c4139f248575e5eea394ea0c2079936a46636fcea38dcb7d68c9457f58c477fa2ee04264df628ec94a1c3c8182 WHIRLPOOL 68b40a8ddc15bac55b6295d07ef91b63755ec75707aa77d6a8654ff0ab42ad3c862884861cddc8b1cece9fe54aa153b71e9e474368455921e8c39b2d5129f94d
DIST lammps-29Jan14.tar.gz 57869284 SHA256 37f139d14cc1033f3ce646e33b4f9c86c2aa8b29f015b324183e83727502507d SHA512 451b2293513dbfbfa0bc84e3fe62f0df9a7c0f6c78118044be178c401268eb378d41340f9f8fa45861984766f8b87656e48cc241d462d7bb0556a3e7c634638c WHIRLPOOL 1524a16c63b0de830375ecdc7b3cf88f6ae93614febd675234b2ee1a596cc302f30fdf64d97c59fff9dc06612030bf1d52b59a079dc29c36ea4ef4c55ded75e4
-EBUILD lammps-20131201.ebuild 2474 SHA256 b02851bc4dab628a1b216c38db6d609c33410b29507d0c076a333e2798249779 SHA512 997db7ad97cee244e139b190891af9176ace53540b5967c780165f227451335ffbc34e49ea7e795baf984899caeb9923cbd7ff378083314fe0245c3a694c5342 WHIRLPOOL 2a98f6abb28dd71952753624a58fa632358193b4ae7139f85b2376116c5a5532555f4c487a034e2fb363964881906247f3b0bfa8043aec250ea2d9ede4fad8e6
-EBUILD lammps-20131216.ebuild 2474 SHA256 ad5a4a662738da1e9b74cff9bb399aba66ff63ca1eb5b48aea6f54d42415c34e SHA512 9815342b5368143ed478c90f21fb1648d2698cadcd334391c1685854ffcb76583e7b8c454a4dfdf10a4ead4973baff3facf0f1383e892fd765bde079999246a1 WHIRLPOOL 478fa1c27a81fc69cccbc7f834927a60bfedbbbbf10cd2aa405489f66dfc6d9f4a401a17fcab5f54fd2c3740ed04b969c55cb20f7db8008314580be003aa0433
-EBUILD lammps-20131217.ebuild 2474 SHA256 053701616956ae0383478ec779bb90e5861d415d733d79ae988b5f3fd18f6a5d SHA512 245e4c6ad89ed6be19bc1cd7c9ad924f90b94f8e1e1a5d350b2e36be21fad8a340f72f512ed3bb2bbdf4f79990917992fff6ed4631fccfafae43de32545a9916 WHIRLPOOL 8784be81325dd208c84e9c542b816bf4d48b822f6f2f04ad37b08f26abff24bcc53f43995abe7629ce3f4dd4e325f0651e6b0c44eba2000b57fa40ce72661762
EBUILD lammps-20140122.ebuild 2474 SHA256 a53722430133c48e79af46ea29e8f7ee2e15b96a07d70c04367b83e403dde595 SHA512 e6c2e25a7f73aa00e007b2b5584914d107474655bc4bac8c48f97a75b153540016f49cc111653774746065b752221ad2bec6ccb59778a097580976341a7d8999 WHIRLPOOL 874315a4d798e915a94904e43255cdabdf760cd8fb26b5d2a937df617308efe8747779003bc16456f61064720fb9ecd5d99b22eb74864f107d865bdf8ce8d7a9
EBUILD lammps-20140129.ebuild 2474 SHA256 20b858dbf8bd276ce996b4a3abef1a67fc65cdac14944330f0a19b75f392854b SHA512 9db041db7994bdafd1470224c0c8f7ab8aec7849300ad3dd3579fe30300388b99cb732a8ab1f34e4c2c2e9a5c39c59cd345af87d81694cbc159abef9d44b64a3 WHIRLPOOL 1b13d493ddd0f0307c936f76d9422a7f601fd95e78c65db4d4524e5a01b546d1926a7b92f8df04c846b58f83631e086d304337552a9d4fa87988397d414ae170
EBUILD lammps-20140201.ebuild 2474 SHA256 bf06324d1cfb529efb73ba6ac1cf44482b06e754ec8abd41b77dc5f034c34933 SHA512 2aed9cb6853a488c3a91c4f0935d913665e9fb9397ea7e393dd475830b4eea2d0d8b9d900f9f8c2d1516222a54c5d7f5b4460c05ef0524fcae053de7876af481 WHIRLPOOL 1104d3b7ded4e082519590065bc9698b61642fdbb6a75b5c4f0617465b3e5b89312c3c40cccbd86fe2d7fc4265314fa26d72c7c9362bc89b5dd9544217c09c6d
@@ -21,12 +15,12 @@ EBUILD lammps-20140214-r1.ebuild 3902 SHA256 a303f544ff66ad713291a7e029773a1d742
EBUILD lammps-20140214-r2.ebuild 4205 SHA256 0cdcaa56a42181b4ae60eee056da07abf1fb828c91e811f7cc76d62474da28c5 SHA512 b8f1608085f6464bb5e3d9217ad8d5481fd4beb797a959c88659b3c57d37d748d4057287b0bac60b4c70ac9a211950f23c21cb5c0eaf8bec37a46d49ec04d509 WHIRLPOOL 002c83b3362d3f971fe3fd263ee270e665d9500dae06689e04b8fdc827f3dc74e15494d99c1b7c594909991f7072b22858fd0adb6b2b5750849ff81231cbcc31
EBUILD lammps-20140214.ebuild 3369 SHA256 4862cf13a843c6ba8110dfb000f32a4a683e55c11797cd4b7920f8f00da4da3a SHA512 afb853a19d96d75ed613fa03963d4a5e6b0cf98a8b40f05dea0eaff407154b9e1a105bd0056fa576abed6e7b30b95fbddb86f158b26a5a51ff31d4f7e31dec2b WHIRLPOOL 2cea4f815004770fdba5116b828efc51e6de875c7c43daad5c0285308ce80dbda92b44b5fb265a081d1bf2dbabad284484f25b51fbcb1002a177c610101570d9
EBUILD lammps-20140226.ebuild 4202 SHA256 ba599d5ddd8bce50b1582096bf2241590ec1734737d8c2d862072d98253deea6 SHA512 b67c141b923f2e5cfba2fce58a78a5122829786fbf1a5b7a1c8b85304e7d380a50034eaf4158b4aa4475a6f38b1fa14567a5de7ca77ae74e78947ab02c2f590c WHIRLPOOL 436c255cbdd927a81d4c94c20449968dc53f995f5930f7c58480aaa28a41f445e0b54e017c711fd17fda6a86ac34e5bae1aaf4ad39306cdaef32ec4b5406032c
-MISC ChangeLog 4274 SHA256 f81ed4310f3df589d0b1ff08c95a9f954f1336ffeb436859eb614cd1106edd92 SHA512 ce94d7aa5639d228c8481b5388213de7cc4dfe39503cd21b1de0638a932af535089c0db266a466061cb937493a13b57e737af4df7cfa49334d27272058e0a1e7 WHIRLPOOL b5e7603c529bd5392b8db921bda813699934851ccd7b170380de3e019cb36a91193840b6b7c85f7ff4cb70139e5d7c2c16c4362263164d04f58cbcdd2ea4cd28
+MISC ChangeLog 4450 SHA256 2a53dcb09cefb283d9ab45a43749b93e8fca5c75bb549bb84b3a760e76902999 SHA512 4aedd15e5e9badd06e17b8067125317bc4e4ccf8dce67e7f38e3bb51e8fe40d3657a18d2ab7a8d4e022844e263e6429b086b6bd3b6b24c2a815d03c9dbdcbaeb WHIRLPOOL a69754506daf61bc8e0468674d41ee5c704c5f807daec652d618112e2146bd16f5ee16d6184588c90e703c0c2fb20452319b29b663681937065f7e993af995c8
MISC metadata.xml 1584 SHA256 4d06db7368b155db1484a6c0792a366b37541260e700248ccf542e5fe28ffbc7 SHA512 b0bbd1fdd37e35ccc0cd4d34bb9afa09910b56a14daa078148aefcce4dc13408c1a5d5a40b865a37bc917764f5b91e266256b9ca83e0f8009859d955b68fe6a8 WHIRLPOOL ff65f1a03910b4fa5758d5537d898c733971e5f339dcd8150bc1596dfcf490b4de2be7f520405a47274e1e9827eddc3d8a1324f2f169d575d1e4584dc01e9787
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlMR3sUACgkQf15tZKyRylI3qgCg6ZXRmBWrQSggfB0KsYNbBr8M
-kYwAoO3MiuhAzTsKToIMdvfzjuDF1LbP
-=A0b+
+iEYEAREIAAYFAlMR31cACgkQf15tZKyRylKZuwCg9Q9QLTyC8jvp0QIFtkcJk7LW
+Yy4An33Y/KX9dAlP3e7FiiqhQyhFy1JK
+=GjOn
-----END PGP SIGNATURE-----
diff --git a/sci-physics/lammps/lammps-20131201.ebuild b/sci-physics/lammps/lammps-20131201.ebuild
deleted file mode 100644
index 15f152272c32..000000000000
--- a/sci-physics/lammps/lammps-20131201.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# 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-20131201.ebuild,v 1.5 2014/02/06 19:54:16 nicolasbock Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
- case $1 in
- 01) echo Jan
- ;;
- 02) echo Feb
- ;;
- 03) echo Mar
- ;;
- 04) echo Apr
- ;;
- 05) echo May
- ;;
- 06) echo Jun
- ;;
- 07) echo Jul
- ;;
- 08) echo Aug
- ;;
- 09) echo Sep
- ;;
- 10) echo Oct
- ;;
- 11) echo Nov
- ;;
- 12) echo Dec
- ;;
- *) echo unknown
- ;;
- esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
- local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
- LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
- # Note: The lammps makefile uses CC to indicate the C++ compiler.
- emake \
- ARCHIVE=$(tc-getAR) \
- CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
- F90=$(usex mpi "mpif90" "$(tc-getFC)") \
- LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
- CCFLAGS="${CXXFLAGS}" \
- F90FLAGS="${FCFLAGS}" \
- LINKFLAGS="${LDFLAGS}" \
- LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
- MPI_INC=$(usex mpi '' "-I../STUBS") \
- MPI_PATH=$(usex mpi '' '-L../STUBS') \
- MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- "$@"
-}
-
-src_compile() {
- # Compile stubs for serial version.
- use mpi || lmp_emake -C src stubs
-
- # Build optional packages.
- if use package-meam; then
- lmp_emake -C src yes-meam
- lmp_emake -j1 -C lib/meam -f Makefile.gfortran
- fi
- use package-dipole && emake -C src yes-dipole
- use package-rigid && emake -C src yes-rigid
-
- # Compile.
- lmp_emake -C src serial
-}
-
-src_install() {
- newbin "src/lmp_serial" "lmp"
-
- local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
- insinto "${LAMMPS_POTENTIALS}"
- doins potentials/*
- echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
- doenvd 99lammps
-
- if use examples; then
- local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
- insinto "${LAMMPS_EXAMPLES}"
- doins -r examples/*
- fi
-
- dodoc README
- if use doc; then
- dodoc doc/Manual.pdf
- dohtml -r doc/*
- fi
-}
diff --git a/sci-physics/lammps/lammps-20131216.ebuild b/sci-physics/lammps/lammps-20131216.ebuild
deleted file mode 100644
index a24ca78f2717..000000000000
--- a/sci-physics/lammps/lammps-20131216.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# 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-20131216.ebuild,v 1.5 2014/02/06 19:54:16 nicolasbock Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
- case $1 in
- 01) echo Jan
- ;;
- 02) echo Feb
- ;;
- 03) echo Mar
- ;;
- 04) echo Apr
- ;;
- 05) echo May
- ;;
- 06) echo Jun
- ;;
- 07) echo Jul
- ;;
- 08) echo Aug
- ;;
- 09) echo Sep
- ;;
- 10) echo Oct
- ;;
- 11) echo Nov
- ;;
- 12) echo Dec
- ;;
- *) echo unknown
- ;;
- esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
- local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
- LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
- # Note: The lammps makefile uses CC to indicate the C++ compiler.
- emake \
- ARCHIVE=$(tc-getAR) \
- CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
- F90=$(usex mpi "mpif90" "$(tc-getFC)") \
- LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
- CCFLAGS="${CXXFLAGS}" \
- F90FLAGS="${FCFLAGS}" \
- LINKFLAGS="${LDFLAGS}" \
- LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
- MPI_INC=$(usex mpi '' "-I../STUBS") \
- MPI_PATH=$(usex mpi '' '-L../STUBS') \
- MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- "$@"
-}
-
-src_compile() {
- # Compile stubs for serial version.
- use mpi || lmp_emake -C src stubs
-
- # Build optional packages.
- if use package-meam; then
- lmp_emake -C src yes-meam
- lmp_emake -j1 -C lib/meam -f Makefile.gfortran
- fi
- use package-dipole && emake -C src yes-dipole
- use package-rigid && emake -C src yes-rigid
-
- # Compile.
- lmp_emake -C src serial
-}
-
-src_install() {
- newbin "src/lmp_serial" "lmp"
-
- local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
- insinto "${LAMMPS_POTENTIALS}"
- doins potentials/*
- echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
- doenvd 99lammps
-
- if use examples; then
- local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
- insinto "${LAMMPS_EXAMPLES}"
- doins -r examples/*
- fi
-
- dodoc README
- if use doc; then
- dodoc doc/Manual.pdf
- dohtml -r doc/*
- fi
-}
diff --git a/sci-physics/lammps/lammps-20131217.ebuild b/sci-physics/lammps/lammps-20131217.ebuild
deleted file mode 100644
index 1f3f09f4094b..000000000000
--- a/sci-physics/lammps/lammps-20131217.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# 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-20131217.ebuild,v 1.3 2014/02/06 19:54:16 nicolasbock Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
- case $1 in
- 01) echo Jan
- ;;
- 02) echo Feb
- ;;
- 03) echo Mar
- ;;
- 04) echo Apr
- ;;
- 05) echo May
- ;;
- 06) echo Jun
- ;;
- 07) echo Jul
- ;;
- 08) echo Aug
- ;;
- 09) echo Sep
- ;;
- 10) echo Oct
- ;;
- 11) echo Nov
- ;;
- 12) echo Dec
- ;;
- *) echo unknown
- ;;
- esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
- local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
- LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
- # Note: The lammps makefile uses CC to indicate the C++ compiler.
- emake \
- ARCHIVE=$(tc-getAR) \
- CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
- F90=$(usex mpi "mpif90" "$(tc-getFC)") \
- LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
- CCFLAGS="${CXXFLAGS}" \
- F90FLAGS="${FCFLAGS}" \
- LINKFLAGS="${LDFLAGS}" \
- LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
- MPI_INC=$(usex mpi '' "-I../STUBS") \
- MPI_PATH=$(usex mpi '' '-L../STUBS') \
- MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- "$@"
-}
-
-src_compile() {
- # Compile stubs for serial version.
- use mpi || lmp_emake -C src stubs
-
- # Build optional packages.
- if use package-meam; then
- lmp_emake -C src yes-meam
- lmp_emake -j1 -C lib/meam -f Makefile.gfortran
- fi
- use package-dipole && emake -C src yes-dipole
- use package-rigid && emake -C src yes-rigid
-
- # Compile.
- lmp_emake -C src serial
-}
-
-src_install() {
- newbin "src/lmp_serial" "lmp"
-
- local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
- insinto "${LAMMPS_POTENTIALS}"
- doins potentials/*
- echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
- doenvd 99lammps
-
- if use examples; then
- local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
- insinto "${LAMMPS_EXAMPLES}"
- doins -r examples/*
- fi
-
- dodoc README
- if use doc; then
- dodoc doc/Manual.pdf
- dohtml -r doc/*
- fi
-}