diff --git a/dev-perl/archive_extract/archive_extract-0.88.recipe b/dev-perl/archive_extract/archive_extract-0.88.recipe new file mode 100644 index 000000000..f34db1333 --- /dev/null +++ b/dev-perl/archive_extract/archive_extract-0.88.recipe @@ -0,0 +1,42 @@ +SUMMARY="A perl module for generic archive extraction" +DESCRIPTION="Archive::Extract is a generic archive extraction mechanism. + +It allows you to extract .tgz, .tar, .gz and .zip files, using either perl modules or \ +commandline tools" +HOMEPAGE="https://metacpan.org/pod/Archive::Extract" +COPYRIGHT="2006-2021 Andy Lester" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-$portVersion.tar.gz" +CHECKSUM_SHA256="cffcf135cd0622287d3b02154f7d6716495449fcaed03966621948e25ea5f742" +SOURCE_DIR="Archive-Extract-$portVersion" +PATCHES="archive_extract-$portVersion.patchset" + +ARCHITECTURES="any" + +PROVIDES=" + archive_extract = $portVersion + " +REQUIRES=" + haiku + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make install DESTDIR="${DESTDIR}" +} diff --git a/dev-perl/archive_extract/patches/archive_extract-0.88.patchset b/dev-perl/archive_extract/patches/archive_extract-0.88.patchset new file mode 100644 index 000000000..21fbab7ca --- /dev/null +++ b/dev-perl/archive_extract/patches/archive_extract-0.88.patchset @@ -0,0 +1,22 @@ +From 01a14737b604bbe58981d6a7f058347f63d3e41a Mon Sep 17 00:00:00 2001 +From: Begasus +Date: Fri, 8 Sep 2023 12:43:19 +0200 +Subject: Install in vendor_perl instead of site_perl + + +diff --git a/Makefile.PL b/Makefile.PL +index 509e74a..8826632 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -22,7 +22,7 @@ WriteMakefile1( + 'Module::Load::Conditional' => 0.66, + 'Locale::Maketext::Simple' => 0, + }, +- INSTALLDIRS => ( $] >= 5.009005 && $] < 5.012 ? 'perl' : 'site' ), ++ INSTALLDIRS => ( $] >= 5.009005 && $] < 5.012 ? 'perl' : 'vendor' ), + AUTHOR => 'Jos Boumans ', + ABSTRACT => 'Generic archive extracting mechanism' + ); +-- +2.42.0 +