diff --git a/dev-perl/file_sharedir/file_sharedir-1.118.recipe b/dev-perl/file_sharedir/file_sharedir-1.118.recipe new file mode 100644 index 000000000..a1c60837a --- /dev/null +++ b/dev-perl/file_sharedir/file_sharedir-1.118.recipe @@ -0,0 +1,40 @@ +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="1" +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 + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make install DESTDIR="${DESTDIR}" +}