commit:     0420ac8728146d7c6afb7caf4c0545337a671dd7
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Feb 13 21:19:29 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Feb 13 21:19:29 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0420ac87

install the perl module properly; added KEYWORDS

Package-Manager: portage-2.2.15

---
 sci-biology/eval/eval-2.2.8.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/sci-biology/eval/eval-2.2.8.ebuild 
b/sci-biology/eval/eval-2.2.8.ebuild
index 4d1ec45..e79577d 100644
--- a/sci-biology/eval/eval-2.2.8.ebuild
+++ b/sci-biology/eval/eval-2.2.8.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://mblab.wustl.edu/software.html";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64"
 IUSE=""
 SRC_URI="http://mblab.wustl.edu/software/download/"${PN}"-"${PV}".tar.gz
                http://mblab.wustl.edu/software/download/eval-documentation.pdf";
@@ -27,7 +27,14 @@ src_install(){
        dodoc help/*.ps
        insinto /usr/share/eval
        doins *.gtf
-       insinto /usr/share/eval/perl
+       eval `perl '-V:installvendorlib'`
+       vendor_lib_install_dir="${installvendorlib}"
+       dodir ${vendor_lib_install_dir}/eval
+       insinto ${vendor_lib_install_dir}/eval
        doins *.pm
-       # TODO: need to add this into PERL_PATH
+       echo "PERL5LIB="${vendor_lib_install_dir}"/eval" > ${S}"/99eval"
+       doenvd ${S}"/99eval" || die
 }
+
+# the version of validate_gtf.pl bundled with eval differs a bit from
+# validate_gtf-1.0.pl from http://mblab.wustl.edu/software.html#validategtf

Reply via email to