mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
archive_extract, add perl module (#9386)
This commit is contained in:
42
dev-perl/archive_extract/archive_extract-0.88.recipe
Normal file
42
dev-perl/archive_extract/archive_extract-0.88.recipe
Normal file
@@ -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}"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
From 01a14737b604bbe58981d6a7f058347f63d3e41a Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
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 <kane[at]cpan.org>',
|
||||
ABSTRACT => 'Generic archive extracting mechanism'
|
||||
);
|
||||
--
|
||||
2.42.0
|
||||
|
||||
Reference in New Issue
Block a user