aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-09-09 10:01:41 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-09 10:01:41 +0200
commit14d849851ea431ae63d52f29fe604675f66a4ca7 (patch)
tree0236af343550099ca439155290b96aa3b7707094
parentdev-util/nvidia-cuda-toolkit: Version Bump (diff)
downloadsci-14d849851ea431ae63d52f29fe604675f66a4ca7.tar.gz
sci-14d849851ea431ae63d52f29fe604675f66a4ca7.tar.bz2
sci-14d849851ea431ae63d52f29fe604675f66a4ca7.zip
sci-chemistry/phenix-bin: Fix path correction
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild b/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
index 9b5e81149..90c185eb1 100644
--- a/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
+++ b/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
@@ -70,7 +70,7 @@ RESTRICT="fetch"
QA_PREBUILT="opt/phenix-${MY_PV}/.*"
-S="${WORKDIR}"/${MY_P}-intel-linux-2.6-x86_64-centos6/
+S="${WORKDIR}"/${MY_P}-intel-linux-2.6-x86_64-centos6
pkg_nofetch() {
elog "Please visit"
@@ -94,6 +94,7 @@ src_compile() {
}
src_install() {
+ find "${S}/foo" -type f -name "*.pyc" -delete || die
sed \
-e "s:${S}/foo:${EPREFIX}/opt:g" \
-i \
@@ -103,7 +104,6 @@ src_install() {
foo/phenix-${MY_PV}/base/etc/{gtk*,pango}/* \
foo/phenix-${MY_PV}/phenix_env* \
|| die
-
dodir /opt
mv "${S}/foo/phenix-${MY_PV}" "${ED}/opt/" || die