tie_simple, add perl module (#9393)

This commit is contained in:
Schrijvers Luc
2023-09-09 07:50:16 +00:00
committed by GitHub
parent b251e6e0f5
commit d90609384b

View File

@@ -0,0 +1,46 @@
SUMMARY="Variable ties made easier: much, much, much easier"
DESCRIPTION="This module adds the ability to quickly create new types of tie objects without \
creating a complete class. It does so in such a way as to try and make the programmers life \
easier when it comes to single-use ties that I find myself wanting to use from time-to-time.
The Tie::Simple package is actually a front-end to other classes which really do all the work \
once tied, but this package does the dwimming to automatically figure out what you're trying to do.
I've tried to make this as intuitive as possible and dependent on other bits of Perl where I can \
to minimize the need for documentation and to make this extra, extra spiffy."
HOMEPAGE="https://metacpan.org/pod/Tie::Simple"
COPYRIGHT="2015 by Qubling Software LLC."
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="https://cpan.metacpan.org/authors/id/H/HA/HANENKAMP/Tie-Simple-$portVersion.tar.gz"
CHECKSUM_SHA256="29e9e2133951046c78f205f1b3e8df62c90e114f0e08fa06b817766a0f808b12"
SOURCE_DIR="Tie-Simple-$portVersion"
ARCHITECTURES="any"
PROVIDES="
tie_simple = $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}"
}