From 5858c87c116fc46fa6ff9468a05c28c5bd08f2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Thu, 25 Dec 2025 16:10:41 +0100 Subject: [PATCH] clone_pp: new perl module recipe (version 1.08) --- dev-perl/clone_pp/clone_pp-1.08.recipe | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dev-perl/clone_pp/clone_pp-1.08.recipe diff --git a/dev-perl/clone_pp/clone_pp-1.08.recipe b/dev-perl/clone_pp/clone_pp-1.08.recipe new file mode 100644 index 000000000..b8d5d6896 --- /dev/null +++ b/dev-perl/clone_pp/clone_pp-1.08.recipe @@ -0,0 +1,50 @@ +SUMMARY="Recursively copy Perl datatypes" +DESCRIPTION="This module provides a general-purpose clone function to make deep copies of Perl \ +data structures. It calls itself recursively to copy nested hash, array, scalar and reference \ +types, including tied variables and objects." +HOMEPAGE="https://metacpan.org/pod/Clone::PP" +COPYRIGHT="2003 Matthew Simon Cavalletto" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Clone-PP-$portVersion.tar.gz" +CHECKSUM_SHA256="57203094a5d8574b6a00951e8f2399b666f4e74f9511d9c9fb5b453d5d11f578" +SOURCE_DIR="Clone-PP-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + clone_pp = $portVersion + " +REQUIRES=" + haiku + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make pure_install + + # remove architecture-specific files + cd $prefix + rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) + # cut extracts the quoted string and strips the prefix (which is perl's and not ours) +} + +TEST() +{ + make test +}