mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
48 lines
1005 B
Bash
48 lines
1005 B
Bash
SUMMARY="Various portability utilities for module builders"
|
|
DESCRIPTION="This module provides various portable helper functions for module building modules."
|
|
HOMEPAGE="https://metacpan.org/pod/ExtUtils::Helpers"
|
|
COPYRIGHT="2004 by Ken Williams, Leon Timmermans"
|
|
LICENSE="Artistic"
|
|
REVISION="2"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c8574875cce073e7dc5345a7b06d502e52044d68894f9160203fcaab379514fe"
|
|
SOURCE_DIR="ExtUtils-Helpers-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
extutils_helpers = $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
|
|
}
|