diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2011-04-20 13:03:00 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2011-04-20 13:03:00 +0000 |
commit | a4c93d3b823be5cfe400069deb4efa9fb7e77bba (patch) | |
tree | d60f95c0a3b28d8023288b960fa57c21b53444be /sci-physics/espresso | |
parent | Respect CC, #243960 (diff) | |
download | historical-a4c93d3b823be5cfe400069deb4efa9fb7e77bba.tar.gz historical-a4c93d3b823be5cfe400069deb4efa9fb7e77bba.tar.bz2 historical-a4c93d3b823be5cfe400069deb4efa9fb7e77bba.zip |
initial commit from science overlay (bug 266648)
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'sci-physics/espresso')
-rw-r--r-- | sci-physics/espresso/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/espresso/Manifest | 18 | ||||
-rw-r--r-- | sci-physics/espresso/espresso-3.0.0.ebuild | 92 | ||||
-rw-r--r-- | sci-physics/espresso/metadata.xml | 13 |
4 files changed, 133 insertions, 0 deletions
diff --git a/sci-physics/espresso/ChangeLog b/sci-physics/espresso/ChangeLog new file mode 100644 index 000000000000..4fe606be7fb1 --- /dev/null +++ b/sci-physics/espresso/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-physics/espresso +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.1 2011/04/20 13:03:00 ottxor Exp $ + +*espresso-3.0.0 (20 Apr 2011) + + 20 Apr 2011; Christoph Junghans <ottxor@gentoo.org> +espresso-3.0.0.ebuild, + +metadata.xml: + initial commit from science overlay (bug 266648) + diff --git a/sci-physics/espresso/Manifest b/sci-physics/espresso/Manifest new file mode 100644 index 000000000000..8724c45e8af3 --- /dev/null +++ b/sci-physics/espresso/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST espresso-3.0.0.tar.gz 5968653 RMD160 26bacd4669c82e6d01b3eb8b3c824fa0a12d0cc9 SHA1 1f705eb16427d64610d492ed3d245e71304e2b5d SHA256 422ae087000cb73ed59f7dc109af19548841eb9b8eca330d70abcb104f7e9d1d +EBUILD espresso-3.0.0.ebuild 2079 RMD160 265b7e865244a47b05ac7a89c64e286098bafbdc SHA1 ab2241644a0b1601e891f3b323946e363545ba1d SHA256 fd2d412e0331b5fd5779093599a6e8e3423602bec2050add78d30d8e3445f513 +MISC ChangeLog 391 RMD160 7a58500ed46b908ee0845a3bec0a06a36529b091 SHA1 a4ee1c2b55d87b17db0aa01bb9b512497ac2783f SHA256 5112eec82b002d064ccfdd343d2b1a6827071bc133a3d0f31d3233caa79b8fef +MISC metadata.xml 389 RMD160 08e804cac435b4a6211c2828e85aa782c693c60d SHA1 db8aa56bf3a00be84202c908510469e2b6dce189 SHA256 2e3930885bef14d1e5669744db5e5f8a489a6f75e3b6c6861665a94c0fa07b29 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJNrtmKAAoJEOeBhlrCAAWG0xIH/A2UBlCwzu8mLCzvk6Ww8tlg +eplDfohmqOK6wE3A2HxKF7KJJVnHfiN2w3XJNOcRl994y2PK8Gx37FcKwCyglOWj +yyWYnJ1BItl4OQfCCd455cSWLnMBCQ4ooUacEeca88wWmGnd1zxTV7SFgtIlJwE1 +bKIJ5QBtFkQ736vTnBJ9LuCvg9btrCeDFJjnil3gkXHApHKBooEUJkozHIPRjBLP +iu3sCGYwm3CFz9tXUUujXqZeXcVaQB98yXwrduo9asWwFzQJu12FC1vMEaE2lPKz +F/2AUwtCyqmaoHmKQlInG/1S5Op6rlAOWPqHrnnAqP9i8X2Bl2D5l3LHED72B1Q= +=9O6h +-----END PGP SIGNATURE----- diff --git a/sci-physics/espresso/espresso-3.0.0.ebuild b/sci-physics/espresso/espresso-3.0.0.ebuild new file mode 100644 index 000000000000..3eaab33bd297 --- /dev/null +++ b/sci-physics/espresso/espresso-3.0.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.0.0.ebuild,v 1.1 2011/04/20 13:03:00 ottxor Exp $ + +EAPI="4" + +inherit autotools-utils savedconfig + +DESCRIPTION="Extensible Simulation Package for Research on Soft matter" +HOMEPAGE="http://www.espressomd.org" +SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="X doc examples fftw mpi packages test -tk" + +RDEPEND="dev-lang/tcl + X? ( x11-libs/libX11 ) + fftw? ( sci-libs/fftw:3.0 ) + mpi? ( virtual/mpi ) + tk? ( >=dev-lang/tk-8.4.18-r1 )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[-nodot] + virtual/latex-base )" + +src_prepare() { + sed -i 's/^CFLAGS/#&/' configure.ac + autotools-utils_src_prepare + eautoreconf + restore_config myconfig.h +} + +src_configure() { + myeconfargs=( + $(use_with fftw) \ + $(use_with mpi) \ + $(use_with tk) \ + $(use_with X x) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile + if use doc; then + autotools-utils_src_compile doc || die "emake doc failed" + fi +} + +src_install() { + autotools-utils_src_install + + dodoc AUTHORS NEWS README ChangeLog + + insinto /usr/share/${PN} + doins ${AUTOTOOLS_BUILD_DIR}/myconfig-sample.h + + save_config ${AUTOTOOLS_BUILD_DIR}/src/myconfig-final.h + + if use doc; then + newdoc doc/ug/ug.pdf user_guide.pdf + dohtml -r ${AUTOTOOLS_BUILD_DIR}/doc/dg/html/* + newdoc doc/tutorials/tut2/tut2.pdf tutorial.pdf + fi + + if use examples; then + insinto /usr/share/${PN}/examples + doins -r samples/* + fi + + if use packages; then + insinto /usr/share/${PN}/packages + doins -r packages/* + fi +} + +pkg_postinst() { + elog + elog "Please read and cite:" + elog "ESPResSo, Comput. Phys. Commun. 174(9) ,704, 2006." + elog "http://dx.doi.org/10.1016/j.cpc.2005.10.005" + elog + elog "If you need more features, change" + elog "/etc/portage/savedconfig/${CATEGORY}/${PF}" + elog "and reemerge with USE=savedconfig" + elog + elog "For a full feature list see:" + elog "/usr/share/${PN}/myconfig-sample.h" + elog +} diff --git a/sci-physics/espresso/metadata.xml b/sci-physics/espresso/metadata.xml new file mode 100644 index 000000000000..05916be9fd25 --- /dev/null +++ b/sci-physics/espresso/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-physics</herd> + <maintainer> + <email>ottxor@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> + <use> + <flag name='examples'>Installs the examples</flag> + <flag name='packages'>Installs extra subpackages</flag> + </use> +</pkgmetadata> |