Files
haikuports/dev-perl/pathtools/pathtools-3.75.recipe
2023-09-09 08:29:34 +00:00

45 lines
1.1 KiB
Bash

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="2"
SOURCE_URI="https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/PathTools-$portVersion.tar.gz"
CHECKSUM_SHA256="a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2"
SOURCE_DIR="PathTools-$portVersion"
ARCHITECTURES="all"
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}"
}