mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
test_requires, add perl module (#9392)
This commit is contained in:
40
dev-perl/test_requires/test_requires-0.11.recipe
Normal file
40
dev-perl/test_requires/test_requires-0.11.recipe
Normal file
@@ -0,0 +1,40 @@
|
||||
SUMMARY="Checks to see if the module can be loaded"
|
||||
DESCRIPTION="Test::Requires checks to see if the module can be loaded.
|
||||
|
||||
If this fails rather than failing tests this skips all tests."
|
||||
HOMEPAGE="https://metacpan.org/pod/Test::Requires"
|
||||
COPYRIGHT="2013 by Tokuhiro Matsuno"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Test-Requires-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4b88de549597eecddf7c3c38a4d0204a16f59ad804577b671896ac04e24e040f"
|
||||
SOURCE_DIR="Test-Requires-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
test_requires = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
}
|
||||
Reference in New Issue
Block a user