mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
business_issn: new perl module recipe
This doesn't have a proper description in its documentation, so I had to write a one-liner myself ;-)
This commit is contained in:
48
dev-perl/business_issn/business_issn-1.007.recipe
Normal file
48
dev-perl/business_issn/business_issn-1.007.recipe
Normal file
@@ -0,0 +1,48 @@
|
||||
SUMMARY="Perl extension for International Standard Serial Numbers"
|
||||
DESCRIPTION="Business::ISSN is a Perl module for validating and fixing invalid ISSNs."
|
||||
HOMEPAGE="https://metacpan.org/pod/Business::ISBN"
|
||||
COPYRIGHT="1999-2025, brian d foy"
|
||||
LICENSE="Artistic v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/Business-ISSN-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="27e0c0d2d3a6928681e45b1759d14ee67bac5fe8c5ce6dcabadb4d632cfc2bea"
|
||||
SOURCE_DIR="Business-ISSN-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
business_issn = $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
|
||||
}
|
||||
Reference in New Issue
Block a user