mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
b_cow: new perl module recipe
This commit is contained in:
50
dev-perl/b_cow/b_cow-0.007.recipe
Normal file
50
dev-perl/b_cow/b_cow-0.007.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="Additional B helpers to check COW status"
|
||||
DESCRIPTION="B::COW provides some naive additional B helpers to check the COW status of one SvPV."
|
||||
HOMEPAGE="https://metacpan.org/pod/B::COW"
|
||||
COPYRIGHT="2018 by Nicolas R."
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/B-COW-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1290daf227e8b09889a31cf182e29106f1cf9f1a4e9bf7752f9de92ed1158b44"
|
||||
SOURCE_DIR="B-COW-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
b_cow$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
PROVIDES+="
|
||||
b_cow = $portVersion
|
||||
"
|
||||
fi
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user