Files
haikuports/dev-perl/file_sharedir/file_sharedir-1.118.recipe

42 lines
960 B
Bash

SUMMARY="Locate per-dist and per-module shared files"
DESCRIPTION="The intent of File::ShareDir is to provide a companion to Class::Inspector and \
File::HomeDir, modules that take a process that is well-known by advanced Perl developers but \
gets a little tricky, and make it more available to the larger Perl community."
HOMEPAGE="https://metacpan.org/pod/File::ShareDir"
COPYRIGHT="2005 - 2011 Adam Kennedy"
LICENSE="Artistic"
REVISION="2"
SOURCE_URI="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-$portVersion.tar.gz"
CHECKSUM_SHA256="3bb2a20ba35df958dc0a4f2306fc05d903d8b8c4de3c8beefce17739d281c958"
SOURCE_DIR="File-ShareDir-$portVersion"
ARCHITECTURES="any"
PROVIDES="
file_sharedir = $portVersion
"
REQUIRES="
haiku
class_inspector
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install DESTDIR="${DESTDIR}"
}