mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
56 lines
1.0 KiB
Bash
56 lines
1.0 KiB
Bash
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="2"
|
|
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
|
|
}
|