diff --git a/dev-perl/business_isbn/business_isbn-3.011.recipe b/dev-perl/business_isbn/business_isbn-3.011.recipe new file mode 100644 index 000000000..a0459972c --- /dev/null +++ b/dev-perl/business_isbn/business_isbn-3.011.recipe @@ -0,0 +1,57 @@ +SUMMARY="Work with International Standard Book Numbers" +DESCRIPTION="This modules handles International Standard Book Numbers, including ISBN-10 and \ +ISBN-13. +The data come from Business::ISBN::Data, which means you can update the data separately from the \ +code. Also, you can use Business::ISBN::Data with whatever RangeMessage.xml you like if you have \ +updated data. See that module for details." +HOMEPAGE="https://metacpan.org/pod/Business::ISBN" +COPYRIGHT="2001-2025, brian d foy" +LICENSE="Artistic v2.0" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/Business-ISBN-$portVersion.tar.gz" +CHECKSUM_SHA256="d882fa0d467cb6975a64944d4276d00abfd2dfdd36f0885935fd3de4e3dc4ba4" +SOURCE_DIR="Business-ISBN-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + business_isbn = $portVersion + " +REQUIRES=" + haiku + business_isbn_data + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +TEST_REQUIRES=" + business_isbn_data + " + +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 +}