diff --git a/dev-perl/pathtools/pathtools-3.75.recipe b/dev-perl/pathtools/pathtools-3.75.recipe new file mode 100644 index 000000000..722633639 --- /dev/null +++ b/dev-perl/pathtools/pathtools-3.75.recipe @@ -0,0 +1,44 @@ +SUMMARY="Portably perform operations on file names" +DESCRIPTION="This module is designed to support operations commonly performed on file \ +specifications (usually called 'file names', but not to be confused with the contents of a file, \ +or Perl's file handles), such as concatenating several directory and file names into a single \ +path, or determining whether a path is rooted. It is based on code directly taken from MakeMaker \ +5.17, code written by Andreas König, Andy Dougherty, Charles Bailey, Ilya Zakharevich, \ +Paul Schinder, and others." +HOMEPAGE="https://metacpan.org/pod/File::Spec" +COPYRIGHT="2004-2013 by the Perl 5 Porters" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/PathTools-$portVersion.tar.gz" +CHECKSUM_SHA256="a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2" +SOURCE_DIR="PathTools-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + pathtools = $portVersion + " +REQUIRES=" + haiku + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:make + cmd:perl + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make install DESTDIR="${DESTDIR}" +}