mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
test_differences: bump to version 0.72
This commit is contained in:
55
dev-perl/test_differences/test_differences-0.72.recipe
Normal file
55
dev-perl/test_differences/test_differences-0.72.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="Test strings and data structures and show differences if not ok"
|
||||
DESCRIPTION="When the code you're testing returns multiple lines, records or data structures and \
|
||||
they're just plain wrong, an equivalent to the Unix diff utility may be just what's needed."
|
||||
HOMEPAGE="https://metacpan.org/pod/Test::Differeces"
|
||||
COPYRIGHT="Barrie Slaymaker, Curtis \"Ovid\" Poe, and David Cantrell"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="648844b9dcb7dae6f9b5a15c9359d0f09de247a624b65c4620ebff249558f913"
|
||||
SOURCE_DIR="Test-Differences-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
test_differences = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
text_diff
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
capture_tiny
|
||||
text_diff
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user