mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
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
|
|
}
|