commit:     e4e5c84b2835673ceac3607cf84dc0d68c3bcfe6
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Apr 17 23:18:17 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Apr 17 23:18:17 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e4e5c84b

sci-biology/eval: fixed installation of perl-related files

Package-Manager: portage-2.2.18

 sci-biology/eval/ChangeLog         |  3 +++
 sci-biology/eval/eval-2.2.8.ebuild | 23 ++++++++++++-----------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/sci-biology/eval/ChangeLog b/sci-biology/eval/ChangeLog
index 34f2faa..7de843d 100644
--- a/sci-biology/eval/ChangeLog
+++ b/sci-biology/eval/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  17 Apr 2015; Martin Mokrejs <[email protected]> eval-2.2.8.ebuild:
+  sci-biology/eval: fixed installation of perl-related files
+
   19 Mar 2015; Martin Mokrejs <[email protected]> eval-2.2.8.ebuild:
   removing KEYWORDS until the perl files are installed to some other place. At
   the moment I get: 'perl-module.eclass: Suspicious environment values found.

diff --git a/sci-biology/eval/eval-2.2.8.ebuild 
b/sci-biology/eval/eval-2.2.8.ebuild
index 77a8076..c6ddde2 100644
--- a/sci-biology/eval/eval-2.2.8.ebuild
+++ b/sci-biology/eval/eval-2.2.8.ebuild
@@ -4,17 +4,20 @@
 
 EAPI=5
 
+PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit perl-module eutils toolchain-funcs
+
 DESCRIPTION="Validate, compare and draw summary statistics for GTF files"
 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";
 
-DEPEND="dev-lang/perl
+DEPEND="
        dev-lang/tk
        sci-biology/vcftools
        sci-visualization/gnuplot"
@@ -25,16 +28,14 @@ src_install(){
        dobin *.pl *.py
        dodoc "${DISTDIR}"/eval-documentation.pdf
        dodoc help/*.ps
-       insinto /usr/share/eval
+       insinto /usr/share/${PN}
        doins *.gtf
-       eval `perl '-V:installvendorlib'`
-       vendor_lib_install_dir="${installvendorlib}"
-       dodir ${vendor_lib_install_dir}/eval
-       insinto ${vendor_lib_install_dir}/eval
+       perl_set_version
+       insinto ${VENDOR_LIB}
        doins *.pm
-       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
+pkg_postinst(){
+       ewarn "The version of validate_gtf.pl bundled with eval differs a bit 
from"
+       ewarn "validate_gtf-1.0.pl from 
http://mblab.wustl.edu/software.html#validategtf";
+}

Reply via email to