text_patch, add perl module (#9391)

This commit is contained in:
Schrijvers Luc
2023-09-08 16:41:28 +00:00
committed by GitHub
parent 22f3b5e5fd
commit 39572f46d3

View File

@@ -0,0 +1,42 @@
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/Text::Patch"
COPYRIGHT="2002-2019 by Adam Kennedy"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="https://cpan.metacpan.org/authors/id/C/CA/CADE/Text-Patch-$portVersion.tar.gz"
CHECKSUM_SHA256="eaf18e61ba6a3e143846a7cc66f08ce58a0c4fbda92acb31aede25cb3b5c3dcc"
SOURCE_DIR="Text-Patch-$portVersion"
ARCHITECTURES="any"
PROVIDES="
text_patch = $portVersion
"
REQUIRES="
haiku
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
text_diff
"
BUILD_PREREQUIRES="
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install DESTDIR="${DESTDIR}"
}