1 |
commit: 90f129be2f2ff885fc32e8b90494ac4276838426 |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Fri Feb 24 15:39:46 2017 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Fri Feb 24 15:39:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=90f129be |
7 |
|
8 |
sci-biology/tigr-foundation-libs: fix install phase |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
.../tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild | 9 ++++----- |
13 |
1 file changed, 4 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild b/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild |
16 |
index 540017c6c..ca8bc4d6e 100644 |
17 |
--- a/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild |
18 |
+++ b/sci-biology/tigr-foundation-libs/tigr-foundation-libs-2.0-r1.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
inherit eutils |
29 |
|
30 |
@@ -22,11 +22,10 @@ S="${WORKDIR}"/autoEditor-1.20/TigrFoundation-2.0 |
31 |
|
32 |
src_prepare(){ |
33 |
epatch "${FILESDIR}"/TigrFoundation-all-patches.patch |
34 |
- sed -i "s:/export/usr/local:${D}/usr:g" Makefile || die |
35 |
+ sed -i "s:/export/usr/local:${ED}/usr:g" Makefile || die |
36 |
+ default |
37 |
} |
38 |
|
39 |
src_install(){ |
40 |
emake install DESTDIR="${D}/${EPREFIX}"/usr # Makefile does not respect DESTDIR |
41 |
- mkdir -p "${D}/${EPREFIX}" || die |
42 |
- mv "${D}"/usr "${D}/${EPREFIX}"/ || die |
43 |
} |