diff --git a/dev-perl/file_find_rule/file_find_rule-0.34.recipe b/dev-perl/file_find_rule/file_find_rule-0.34.recipe new file mode 100644 index 000000000..3fc5f5c42 --- /dev/null +++ b/dev-perl/file_find_rule/file_find_rule-0.34.recipe @@ -0,0 +1,57 @@ +SUMMARY="Alternative interface to File::Find" +DESCRIPTION="File::Find::Rule is a friendlier interface to File::Find. It allows you to build \ +rules which specify the desired files and directories." +HOMEPAGE="https://metacpan.org/pod/File::Find::Rule" +COPYRIGHT="2002, 2003, 2004, 2006, 2009, 2011 Richard Clamp" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/File-Find-Rule-$portVersion.tar.gz" +CHECKSUM_SHA256="7e6f16cc33eb1f29ff25bee51d513f4b8a84947bbfa18edb2d3cc40a2d64cafe" +SOURCE_DIR="File-Find-Rule-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + file_find_rule = $portVersion + cmd:findrule + " +REQUIRES=" + haiku + number_compare + text_glob + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +TEST_REQUIRES=" + number_compare + text_glob + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make pure_install + + # remove architecture-specific files + cd $prefix + rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) + # cut extracts the quoted string and strips the prefix (which is perl's and not ours) +} + +TEST() +{ + make test +}