mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
file_sharedir, add perl module (#9382)
This commit is contained in:
40
dev-perl/file_sharedir/file_sharedir-1.118.recipe
Normal file
40
dev-perl/file_sharedir/file_sharedir-1.118.recipe
Normal file
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user