From d90609384be5d8ee0ef92e4e30349880b977d61d Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 9 Sep 2023 07:50:16 +0000 Subject: [PATCH] tie_simple, add perl module (#9393) --- dev-perl/tie_simple/tie_simple-1.04.recipe | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dev-perl/tie_simple/tie_simple-1.04.recipe diff --git a/dev-perl/tie_simple/tie_simple-1.04.recipe b/dev-perl/tie_simple/tie_simple-1.04.recipe new file mode 100644 index 000000000..3e17b692c --- /dev/null +++ b/dev-perl/tie_simple/tie_simple-1.04.recipe @@ -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}" +}