Files
haikuports/dev-perl/data_dump/data_dump-1.25.recipe
2025-03-14 20:13:54 +01:00

51 lines
1.0 KiB
Bash

SUMMARY="Pretty printing of data structures"
DESCRIPTION="This module provides a few functions that traverse their argument list and return a \
string containing Perl code that, when evaled, produces a deep copy of the original arguments."
HOMEPAGE="https://metacpan.org/pod/Data::Dump"
COPYRIGHT="1998-2010 Gisle Aas
1996-1998 Gurusamy Sarathy"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="https://cpan.metacpan.org/authors/id/G/GA/GARU/Data-Dump-$portVersion.tar.gz"
CHECKSUM_SHA256="a4aa6e0ddbf39d5ad49bddfe0f89d9da864e3bc00f627125d1bc580472f53fbd"
SOURCE_DIR="Data-Dump-$portVersion"
ARCHITECTURES="any"
PROVIDES="
data_dump = $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
}