mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
49 lines
958 B
Bash
49 lines
958 B
Bash
SUMMARY="Roles: a nouvelle cuisine portion size slice of Moose"
|
|
DESCRIPTION="Role::Tiny is a minimalist role composition tool."
|
|
HOMEPAGE="https://metacpan.org/pod/Role::Tiny"
|
|
COPYRIGHT="2010-2012 the Role::Tiny author and contributors"
|
|
LICENSE="Artistic"
|
|
REVISION="1"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d7bdee9e138a4f83aa52d0a981625644bda87ff16642dfa845dcb44d9a242b45"
|
|
SOURCE_DIR="Role-Tiny-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
role_tiny = $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
|
|
}
|