diff options
author | Christoph Junghans <junghans@gentoo.org> | 2017-01-02 07:41:20 -0700 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2017-01-02 07:42:33 -0700 |
commit | 89aa96291f6c4158352071cb705a38d46edda16a (patch) | |
tree | 4d5dfb93e7e95886a5202bd59c49cbbf6d25c2de /sci-chemistry | |
parent | sci-chemistry/votca-csgapps: remove old (diff) | |
download | gentoo-89aa96291f6c4158352071cb705a38d46edda16a.tar.gz gentoo-89aa96291f6c4158352071cb705a38d46edda16a.tar.bz2 gentoo-89aa96291f6c4158352071cb705a38d46edda16a.zip |
sci-chemistry/votca-csg: remove old
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/votca-csg/Manifest | 9 | ||||
-rw-r--r-- | sci-chemistry/votca-csg/files/votca-csg-1.3-cmake-3.4.patch | 62 | ||||
-rw-r--r-- | sci-chemistry/votca-csg/votca-csg-1.2.4-r1.ebuild | 90 | ||||
-rw-r--r-- | sci-chemistry/votca-csg/votca-csg-1.3-r1.ebuild | 115 | ||||
-rw-r--r-- | sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild | 114 |
5 files changed, 0 insertions, 390 deletions
diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest index 545beac4d957..7ead25d47fba 100644 --- a/sci-chemistry/votca-csg/Manifest +++ b/sci-chemistry/votca-csg/Manifest @@ -1,12 +1,3 @@ -DIST votca-csg-1.2.4.tar.gz 188345 SHA256 375b428c90247a3877f71c2d96200969bcaf2b081b8c7332ac770720df43646a SHA512 da814154be6700b56509d899ea16a2f974fd951792c78f2f8717b39b0165fe19121fefb2ef9531c63a8d4558d15776058d24b13e0e7ad0abb9d7b11fac0f5d1a WHIRLPOOL 64a86b09ae00435c68bf09e960c1d1738648811fe2a9ffb18f5529d30d6f94ebf1fc218b14e1ee0bfc911e5ca1e92c25404be045cf28e16ced98fd7ee4421418 -DIST votca-csg-1.3.1.tar.gz 242384 SHA256 608225256cf97552cf860cb3754f59a49c55d8433cff07440b8a252645e7bcb6 SHA512 fed4e164b9661d48fd8fa3f57c0a567b88ef2fe0a7a02cafba1d0b1d557529e5259161f558cae95117df8cae996c30486877c0e5aff96d1e8100341bfb674c20 WHIRLPOOL 553fa0b7fb2e142b984a5be6eff1a4e6e89ea2e78a3e7081441d88a498d2aa2bb5cd5e90456656713a646a7f82875fa79d7b9fa62c66ce9edc084f995f936c61 -DIST votca-csg-1.3.tar.gz 242169 SHA256 eace2b90bcd9318ef257355daf09cbd15b10906c44af95d36454aa969a032cff SHA512 c1314672227feb361991b20cb1511473f23df1f0ff337ddc11319f2261ea19ac5c895de72d1da705026520483eebf1477462ea63275451c9fd1e6bbf4826bd76 WHIRLPOOL 2b48e19705fccc8b6af336536d90fdaf168bda05f327a688e604bd079a69b8b9b816d2d549e510659367e397229fbb433c7c406d462f809e0b4ae98c22a8b81b DIST votca-csg-1.4.tar.gz 346527 SHA256 713702613b1e51459a18eb1ef83116eb3dbfd25f05d32e5772ee300a674cdc74 SHA512 26318644c7af2dfa1b81242b27ffac98f2180c3a1f05581bc50a00f644cec4b19ffbaf41c9d941a4714171b56ae93fe41f1a663cd0593ae2b0be2da379119d9b WHIRLPOOL 15c7749b1fa003e92e94f4f3f4ac7698667e5a06f739d4e97686aa904b8433a1e1628fae1c1f718bc4bfd2108d515cb12098852a0ebecb213e478874997f3148 -DIST votca-csg-manual-1.2.4.pdf 1029132 SHA256 78a68955c96700d432249f712e0601376d5d61fef607860fe32d0ce0dcb70cff SHA512 66b7cf869b2b06d4133b341934fd013717b17c90426f4cdf637ef3bb6119e9f6b67cbde56b7f6b6c777dba9fb311df42dd34d8fe23331f1656439acb541d81bf WHIRLPOOL 629e0e6a8900bb7e4a96b7e1020f86ccacd5a7e7258a493d565c94986a0907371a37d45bf499517a74ad29cf2b606965746e0d90b6be91777f2b0a85f2781732 -DIST votca-csg-manual-1.3.1.pdf 1266375 SHA256 320060a77739d3c9ca98116edde94468e136b4bbd38970b82c874eed30af4ee8 SHA512 3335309b364cebcba25269c39dc2383e663a6b46111b02120c63d408a6fd9c3361408beb528d664ce6e13311e5ebff4a4c2772cf2f0e668904b1d9e43030d321 WHIRLPOOL 04adb86ffb10e9e0ecd754ab29940468ec32ddd1f6de1796dd2e89a49e0b60df6a4ecbccab60a085e2619fab480bc63dbb4378490ccfc024c8335ceade983955 -DIST votca-csg-manual-1.3.pdf 1266541 SHA256 1520f2c18972a2ec5e0a7e847ae294cee1e6fa5682010a314f2e45c264e59cec SHA512 eb5d88f6cba30d9fd8c3cb11cd6c08dd3e717fccdcbef11c3363d4eb36d23000d8bd7b448c0a5311bcaee2b502e50d7aadb0faf7c9a5e5e9c6e1e37b1e09ec7e WHIRLPOOL f411bdc929515594200a636e6f5e3338797ae35dfe8ba3ddb01913cea85973dccca6482a4aa276ce68689a8f7c4c6d47ae448f2e3ce549d3dba35a1d40eeb44d DIST votca-csg-manual-1.4.pdf 1281983 SHA256 e2e235473a64dc674a373eacaade4922e02a64274c1f28bcf3b443fbf425d1da SHA512 2e1f4a4375d83df9bd357d4d17e79d26a3a31c9177f008de86721427ffc6f43a5000ec840691108b52a8aecf962321ba6363cd975c7445d7230ee5b0b151b3fa WHIRLPOOL 24580fe71202daad3d4f627657c6aa24175df807462e5c03a05de39f5b2ba38a44a51ee7cfc50416795fc4dfbc8041a4360a3dd680ea339464e1097782b71ac9 -DIST votca-csg-tutorials-1.2.4.tar.gz 3721034 SHA256 94b10f23f6e49c1279cdeea87dfee9c19b44373c74212340acebc06eb11e0245 SHA512 8d78a6ff02aedf97c2b640714fd7acfb7c4b0d03ec0141fa89f0ba041e1d2ec07477653d92effd4c96a6497271ad58f5c3397e1fc183c1c856285f6f8b5ceaf5 WHIRLPOOL ea0df816d2f26f12271250137b51f42ecc4a16eea622d37833d4dcc299732c413ee9f71a67767957b13ce8b44a96e9b1389bbbbdb66015c4b5c6d577d4483cf1 -DIST votca-csg-tutorials-1.3.1.tar.gz 7602667 SHA256 7f283d14bec05cf617f1fb8026ee07af2bb1c517ea5a8526e2f318024cbf7069 SHA512 2475d8c8b40df1307c499387d352bdf2e4beb730978a025be66f8b342eb205020739aad88248e1928a66e0e117a3f7bafa553f2db8089b10a6fca22e0bfbdf54 WHIRLPOOL ab5226903f47c7372580a88df762d13dfbd8bea4299371e75c8b0bfbbd220cb07b2c0bafbc0ccf277b9e937f1448cdf1e91b2e44a7699db1b90469dc9a10086e -DIST votca-csg-tutorials-1.3.tar.gz 7602622 SHA256 ff6ea92b38b41850f2f92ef7533c1365ec6e6cff15d847eace953d7380777654 SHA512 34788d89fe6e989c91bbbb92887942d774b826d30a6423d539c32065ee8cd6a1adad9a2c4f34fa280c26c2342bf007a35019e6bdd0321dfd7a8f13458c7801a3 WHIRLPOOL e28f33294a5e2a432ef62812243f5bc36cb10a261b09b7bb08267a3da14cd601d7c1835264e1390eebc899f54aad8f12c2880a1a2bb5555681c2f89995672275 DIST votca-csg-tutorials-1.4.tar.gz 6348417 SHA256 f5082f57575f09e9a0035f428603946676b251b7cb45b4332ded833be4dca649 SHA512 f3eb28a133ebc04eed07f84d5962943cb9c547c1099638127f15e0015dfdf3f0b25aab4c97d009d6040bf1d69d408cc178edd6e803d33bf1d831e12dca0671c7 WHIRLPOOL da02cda090eb46dd74d6f2bec8adec70ca7a05796ed0d05772133f566e091f794e2d7fa2640ca775e249248624d0f022212444fa3425c3f715a4dea94a300225 diff --git a/sci-chemistry/votca-csg/files/votca-csg-1.3-cmake-3.4.patch b/sci-chemistry/votca-csg/files/votca-csg-1.3-cmake-3.4.patch deleted file mode 100644 index 59d83caea698..000000000000 --- a/sci-chemistry/votca-csg/files/votca-csg-1.3-cmake-3.4.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 34d55f6d771bcf026f453457f45d787391910598 Mon Sep 17 00:00:00 2001 -From: Christoph Junghans <junghans@votca.org> -Date: Tue, 2 Feb 2016 13:56:50 -0700 -Subject: [PATCH] cmake: fixed CheckCXXLibraryExists() with >=cmake-3.4 - ---- - CMakeModules/CheckCXXLibraryExists.cmake | 6 +----- - CMakeModules/CheckFunctionExists.cpp | 23 +++++++++++++++++++++++ - 2 files changed, 24 insertions(+), 5 deletions(-) - create mode 100644 CMakeModules/CheckFunctionExists.cpp - -diff --git a/CMakeModules/CheckCXXLibraryExists.cmake b/CMakeModules/CheckCXXLibraryExists.cmake -index 9c76fe2..d84aea7 100644 ---- a/CMakeModules/CheckCXXLibraryExists.cmake -+++ b/CMakeModules/CheckCXXLibraryExists.cmake -@@ -54,13 +54,9 @@ macro(CHECK_CXX_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE) - set(CHECK_LIBRARY_EXISTS_LIBRARIES - ${CHECK_LIBRARY_EXISTS_LIBRARIES} ${CMAKE_REQUIRED_LIBRARIES}) - endif() -- if(NOT EXISTS ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckFunctionExists.cpp) -- file(COPY ${CMAKE_ROOT}/Modules/CheckFunctionExists.c DESTINATION ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}) -- file(RENAME ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckFunctionExists.c ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckFunctionExists.cpp) -- endif() - try_compile(${VARIABLE} - ${CMAKE_BINARY_DIR} -- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckFunctionExists.cpp -+ ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/CheckFunctionExists.cpp - COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} - LINK_LIBRARIES ${CHECK_LIBRARY_EXISTS_LIBRARIES} - CMAKE_FLAGS -diff --git a/CMakeModules/CheckFunctionExists.cpp b/CMakeModules/CheckFunctionExists.cpp -new file mode 100644 -index 0000000..607b3e8 ---- /dev/null -+++ b/CMakeModules/CheckFunctionExists.cpp -@@ -0,0 +1,23 @@ -+#ifdef CHECK_FUNCTION_EXISTS -+ -+char CHECK_FUNCTION_EXISTS(); -+#ifdef __CLASSIC_C__ -+int main(){ -+ int ac; -+ char*av[]; -+#else -+int main(int ac, char*av[]){ -+#endif -+ CHECK_FUNCTION_EXISTS(); -+ if(ac > 1000) -+ { -+ return *av[0]; -+ } -+ return 0; -+} -+ -+#else /* CHECK_FUNCTION_EXISTS */ -+ -+# error "CHECK_FUNCTION_EXISTS has to specify the function" -+ -+#endif /* CHECK_FUNCTION_EXISTS */ --- -2.7.3 - diff --git a/sci-chemistry/votca-csg/votca-csg-1.2.4-r1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.2.4-r1.ebuild deleted file mode 100644 index 295af05368e6..000000000000 --- a/sci-chemistry/votca-csg/votca-csg-1.2.4-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit bash-completion-r1 cmake-utils multilib - -IUSE="doc examples extras +gromacs" -PDEPEND="extras? ( =sci-chemistry/votca-csgapps-${PV} )" -if [ "${PV}" != "9999" ]; then - SRC_URI="https://github.com/votca/downloads/raw/master/${P}.tar.gz - doc? ( https://github.com/votca/downloads/raw/master/${PN}-manual-${PV}.pdf ) - examples? ( https://github.com/votca/downloads/raw/master/${PN}-tutorials-${PV}.tar.gz )" -fi - -DESCRIPTION="Votca coarse-graining engine" -HOMEPAGE="http://www.votca.org" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-macos" - -#perl is only used for scripts -RDEPEND="~sci-libs/votca-tools-${PV} - gromacs? ( <sci-chemistry/gromacs-5.1:= ) - dev-lang/perl - app-shells/bash:0" - -DEPEND="${RDEPEND} - doc? ( >=app-doc/doxygen-1.7.6.1[dot] ) - >=app-text/txt2tags-2.5 - virtual/pkgconfig" - -DOCS=(README NOTICE ChangeLog) - -src_configure() { - local GMX_DEV="OFF" GMX_DOUBLE="OFF" extra - - if use gromacs; then - has_version ">=sci-chemistry/gromacs-5" && GMX_DEV="ON" - has_version sci-chemistry/gromacs[double-precision] && GMX_DOUBLE="ON" - fi - - #to create man pages, build tree binaries are executed (bug #398437) - [[ ${CHOST} = *-darwin* ]] && \ - extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF" - - mycmakeargs=( - $(cmake-utils_use_with gromacs GMX) - -DWITH_GMX_DEVEL="${GMX_DEV}" - -DGMX_DOUBLE="${GMX_DOUBLE}" - ${extra} - -DWITH_RC_FILES=OFF - -DEXTERNAL_BOOST=ON - -DLIB=$(get_libdir) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newbashcomp scripts/csg-completion.bash csg_call - for i in "${ED}"/usr/bin/csg_*; do - [[ ${i} = *csg_call ]] && continue - bashcomp_alias csg_call "${i##*/}" - done - if use doc; then - if [ -n "${PV##*9999}" ]; then - dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf" - fi - cd "${CMAKE_BUILD_DIR}" || die - cd share/doc || die - doxygen || die - dohtml -r html/* - fi - if use examples && [ -n "${PV##*9999}" ]; then - insinto "/usr/share/doc/${PF}/tutorials" - docompress -x "/usr/share/doc/${PF}/tutorials" - doins -r "${WORKDIR}/${PN}-tutorials-${PV}"/* - fi -} - -pkg_postinst() { - einfo - einfo "Please read and cite:" - einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). " - einfo "http://dx.doi.org/10.1021/ct900369w" - einfo -} diff --git a/sci-chemistry/votca-csg/votca-csg-1.3-r1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.3-r1.ebuild deleted file mode 100644 index 5f6435b5aded..000000000000 --- a/sci-chemistry/votca-csg/votca-csg-1.3-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -CMAKE_MAKEFILE_GENERATOR="ninja" - -inherit bash-completion-r1 cmake-utils multilib - -IUSE="doc examples extras +gromacs hdf5" -PDEPEND="extras? ( =sci-chemistry/${PN}apps-${PV} )" -if [ "${PV}" != "9999" ]; then - SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz - doc? ( https://github.com/${PN/-//}-manual/releases/download/v${PV}/${PN}-manual-${PV}.pdf ) - examples? ( https://github.com/${PN/-//}-tutorials/archive/v${PV}.tar.gz -> ${PN}-tutorials-${PV}.tar.gz )" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" - S="${WORKDIR}/${P#votca-}" - PATCHES=( "${FILESDIR}/${P}-cmake-3.4.patch" ) -else - inherit git-r3 - EGIT_REPO_URI="git://github.com/${PN/-//}.git https://github.com/${PN/-//}.git" - KEYWORDS="" -fi - -DESCRIPTION="Votca coarse-graining engine" -HOMEPAGE="http://www.votca.org" - -LICENSE="Apache-2.0" -SLOT="0" - -RDEPEND=" - =sci-libs/votca-tools-${PV} - gromacs? ( sci-chemistry/gromacs:= ) - hdf5? ( sci-libs/hdf5[cxx] ) - dev-lang/perl - app-shells/bash:*" - -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen[dot] - dev-texlive/texlive-latexextra - virtual/latex-base - dev-tex/pgf - ) - >=app-text/txt2tags-2.5 - virtual/pkgconfig" - -DOCS=( README.md NOTICE CHANGELOG.md ) - -src_unpack() { - if [[ ${PV} != *9999 ]]; then - default - else - git-r3_src_unpack - if use doc; then - EGIT_REPO_URI="git://github.com/${PN/-//}-manual.git https://github.com/${PN/-//}-manual.git" - EGIT_BRANCH="master" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-manual"\ - git-r3_src_unpack - fi - if use examples; then - EGIT_REPO_URI="git://github.com/${PN/-//}-tutorials.git https://github.com/${PN/-//}-tutorials.git" - EGIT_BRANCH="master" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN#votca-}-tutorials"\ - git-r3_src_unpack - fi - fi -} - -src_configure() { - mycmakeargs=( - -DWITH_GMX=$(usex gromacs) - -DWITH_H5MD=$(usex hdf5) - -DWITH_RC_FILES=OFF - -DLIB=$(get_libdir) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newbashcomp scripts/csg-completion.bash csg_call - for i in "${ED}"/usr/bin/csg_*; do - [[ ${i} = *csg_call ]] && continue - bashcomp_alias csg_call "${i##*/}" - done - if use doc; then - if [[ ${PV} = *9999* ]]; then - #we need to do that here, because we need an installed version of csg to build the manual - [[ ${CHOST} = *-darwin* ]] && \ - emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}${DYLD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)" \ - || emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)" - newdoc "${WORKDIR}/${PN}"-manual/manual.pdf "${PN}-manual-${PV}.pdf" - else - dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf" - fi - cmake-utils_src_make -C "${CMAKE_BUILD_DIR}" html - dodoc -r "${CMAKE_BUILD_DIR}"/share/doc/html - fi - if use examples; then - insinto "/usr/share/doc/${PF}/tutorials" - docompress -x "/usr/share/doc/${PF}/tutorials" - rm -rf "${WORKDIR}/${PN#votca-}"-tutorials*/CMake* - doins -r "${WORKDIR}/${PN#votca-}"-tutorials*/* - fi -} - -pkg_postinst() { - einfo - einfo "Please read and cite:" - einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). " - einfo "http://dx.doi.org/10.1021/ct900369w" - einfo -} diff --git a/sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild deleted file mode 100644 index 105fc9054111..000000000000 --- a/sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -CMAKE_MAKEFILE_GENERATOR="ninja" - -inherit bash-completion-r1 cmake-utils multilib - -IUSE="doc examples extras +gromacs hdf5" -PDEPEND="extras? ( =sci-chemistry/${PN}apps-${PV} )" -if [ "${PV}" != "9999" ]; then - SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz - doc? ( https://github.com/${PN/-//}-manual/releases/download/v${PV}/${PN}-manual-${PV}.pdf ) - examples? ( https://github.com/${PN/-//}-tutorials/archive/v${PV}.tar.gz -> ${PN}-tutorials-${PV}.tar.gz )" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" - S="${WORKDIR}/${P#votca-}" -else - inherit git-r3 - EGIT_REPO_URI="git://github.com/${PN/-//}.git https://github.com/${PN/-//}.git" - KEYWORDS="" -fi - -DESCRIPTION="Votca coarse-graining engine" -HOMEPAGE="http://www.votca.org" - -LICENSE="Apache-2.0" -SLOT="0" - -RDEPEND=" - =sci-libs/votca-tools-${PV} - gromacs? ( sci-chemistry/gromacs:= ) - hdf5? ( sci-libs/hdf5[cxx] ) - dev-lang/perl - app-shells/bash:*" - -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen[dot] - dev-texlive/texlive-latexextra - virtual/latex-base - dev-tex/pgf - ) - >=app-text/txt2tags-2.5 - virtual/pkgconfig" - -DOCS=( README.md NOTICE CHANGELOG.md ) - -src_unpack() { - if [[ ${PV} != *9999 ]]; then - default - else - git-r3_src_unpack - if use doc; then - EGIT_REPO_URI="git://github.com/${PN/-//}-manual.git https://github.com/${PN/-//}-manual.git" - EGIT_BRANCH="master" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-manual"\ - git-r3_src_unpack - fi - if use examples; then - EGIT_REPO_URI="git://github.com/${PN/-//}-tutorials.git https://github.com/${PN/-//}-tutorials.git" - EGIT_BRANCH="master" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN#votca-}-tutorials"\ - git-r3_src_unpack - fi - fi -} - -src_configure() { - mycmakeargs=( - -DWITH_GMX=$(usex gromacs) - -DWITH_H5MD=$(usex hdf5) - -DWITH_RC_FILES=OFF - -DLIB=$(get_libdir) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newbashcomp scripts/csg-completion.bash csg_call - for i in "${ED}"/usr/bin/csg_*; do - [[ ${i} = *csg_call ]] && continue - bashcomp_alias csg_call "${i##*/}" - done - if use doc; then - if [[ ${PV} = *9999* ]]; then - #we need to do that here, because we need an installed version of csg to build the manual - [[ ${CHOST} = *-darwin* ]] && \ - emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}${DYLD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)" \ - || emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)" - newdoc "${WORKDIR}/${PN}"-manual/manual.pdf "${PN}-manual-${PV}.pdf" - else - dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf" - fi - cmake-utils_src_make -C "${CMAKE_BUILD_DIR}" html - dodoc -r "${CMAKE_BUILD_DIR}"/share/doc/html - fi - if use examples; then - insinto "/usr/share/doc/${PF}/tutorials" - docompress -x "/usr/share/doc/${PF}/tutorials" - rm -rf "${WORKDIR}/${PN#votca-}"-tutorials*/CMake* - doins -r "${WORKDIR}/${PN#votca-}"-tutorials*/* - fi -} - -pkg_postinst() { - einfo - einfo "Please read and cite:" - einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). " - einfo "http://dx.doi.org/10.1021/ct900369w" - einfo -} |