sci-physics/espresso: live ebuild update
authorChristoph Junghans <ottxor@gentoo.org>
Fri, 22 Jul 2016 20:30:05 +0000 (14:30 -0600)
committerChristoph Junghans <ottxor@gentoo.org>
Fri, 22 Jul 2016 20:30:11 +0000 (14:30 -0600)
Installed fixed in espressomd/espresso#749
Package-Manager: portage-2.2.28

sci-physics/espresso/espresso-9999.ebuild

index 01c45af3b0b1a601a48292701e6213c66155c42d..66a0214e6e5526124ace9ef23580568545cd0e64 100644 (file)
@@ -69,6 +69,7 @@ src_configure() {
                -DCMAKE_DISABLE_FIND_PACKAGE_FFTW3=$(usex !fftw)
                -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=$(usex !hdf5)
                -DCMAKE_SKIP_RPATH=YES
+               -DLIBDIR=$(get_libdir)
        )
        cmake-utils_src_configure
 }
@@ -82,14 +83,7 @@ src_compile() {
 src_install() {
        local i
 
-       #https://github.com/espressomd/espresso/issues/733
-       #cmake-utils_src_install
-       dobin ${CMAKE_BUILD_DIR}/Espresso
-       dolib.so "${CMAKE_BUILD_DIR}"/src/core/{,*}/lib*.so
-       if use python; then
-               insinto $(python_get_sitedir)/${PN}md
-               doins -r "${CMAKE_BUILD_DIR}"/src/python/espressomd
-       fi
+       cmake-utils_src_install
 
        insinto /usr/share/${PN}/
        doins ${CMAKE_BUILD_DIR}/myconfig-sample.hpp
@@ -134,6 +128,6 @@ pkg_postinst() {
        elog "and reemerge with USE=savedconfig"
        echo
        elog "For a full feature list see:"
-       elog "/usr/share/${PN}/myconfig-sample.h"
+       elog "/usr/share/${PN}/myconfig-sample.hpp"
        echo
 }