mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
extutils_config: new perl module recipe
This commit is contained in:
49
dev-perl/extutils_config/extutils_config-0.010.recipe
Normal file
49
dev-perl/extutils_config/extutils_config-0.010.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="A wrapper for perl's configuration"
|
||||
DESCRIPTION="ExtUtils::Config is an abstraction around the %Config hash. By itself it is not a \
|
||||
particularly interesting module by any measure, however it ties together a family of modern \
|
||||
toolchain modules."
|
||||
HOMEPAGE="https://metacpan.org/pod/ExtUtils::Config"
|
||||
COPYRIGHT="2006 by Ken Williams, Leon Timmermans"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="82e7e4e90cbe380e152f5de6e3e403746982d502dd30197a123652e46610c66d"
|
||||
SOURCE_DIR="ExtUtils-Config-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
extutils_config = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST() {
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user