diff --git a/dev-perl/text_patch/text_patch-1.8.recipe b/dev-perl/text_patch/text_patch-1.8.recipe new file mode 100644 index 000000000..bfcc40bcf --- /dev/null +++ b/dev-perl/text_patch/text_patch-1.8.recipe @@ -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}" +}