msva-perl working
[portage-overlay.git] / app-crypt / msva-perl / msva-perl-0.9.2.ebuild
index b92cd93..409fb20 100644 (file)
@@ -47,7 +47,14 @@ DEPEND="
        test? ( ${RDEPEND} )
        "
 
+src_prepare() {
+       epatch "${FILESDIR}/01_Makefile.patch"
+       sed -i "s/##VERSION##/${PV}/" Makefile
+       epatch "${FILESDIR}/02_Makefile.patch"
+       sed -i "s/##PERL##/..\/..\/image\/usr\/local\/lib64\/site_perl/" Makefile
+}
+
 src_install() {
-       mytargets="install --install-path doc=/usr/share/doc/${P}"
+    mytargets="install doc=/usr/share/doc/${P}"
        perl-module_src_install
 }