From c72a3db5915dd1dfcaeb9aaf1f47657a8c37c330 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 8 Sep 2023 14:05:27 +0000 Subject: [PATCH] class_inspector, add perl module (#9387) --- .../class_inspector-1.36.recipe | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-perl/class_inspector/class_inspector-1.36.recipe diff --git a/dev-perl/class_inspector/class_inspector-1.36.recipe b/dev-perl/class_inspector/class_inspector-1.36.recipe new file mode 100644 index 000000000..e65288591 --- /dev/null +++ b/dev-perl/class_inspector/class_inspector-1.36.recipe @@ -0,0 +1,41 @@ +SUMMARY="Get information about a class and its structure" +DESCRIPTION="Class::Inspector allows you to get information about a loaded class. Most or all of \ +this information can be found in other ways, but they aren't always very friendly, and usually \ +involve a relatively high level of Perl wizardry, or strange and unusual looking code. \ +Class::Inspector attempts to provide an easier, more friendly interface to this information." +HOMEPAGE="https://metacpan.org/pod/Class::Inspector" +COPYRIGHT="2002-2019 by Adam Kennedy" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-$portVersion.tar.gz" +CHECKSUM_SHA256="cc295d23a472687c24489d58226ead23b9fdc2588e522f0b5f0747741700694e" +SOURCE_DIR="Class-Inspector-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + class_inspector = $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}" +}