mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
clone: new perl module recipe
This commit is contained in:
55
dev-perl/clone/clone-0.47.recipe
Normal file
55
dev-perl/clone/clone-0.47.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="Recursively copy Perl datatypes"
|
||||
DESCRIPTION="This module provides a clone() method which makes recursive copies of nested hash, \
|
||||
array, scalar and reference types, including tied variables and objects."
|
||||
HOMEPAGE="https://metacpan.org/pod/Clone"
|
||||
COPYRIGHT="2001-2022 Ray Finch"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Clone-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4c2c0cb9a483efbf970cb1a75b2ca75b0e18cb84bcb5c09624f86e26b09c211d"
|
||||
SOURCE_DIR="Clone-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
clone$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
PROVIDES+="
|
||||
clone = $portVersion
|
||||
"
|
||||
fi
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
b_cow$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user