diff --git a/test-data/recipes/perl-test/recipe.yaml b/test-data/recipes/perl-test/recipe.yaml new file mode 100644 index 00000000..7167d18c --- /dev/null +++ b/test-data/recipes/perl-test/recipe.yaml @@ -0,0 +1,40 @@ +context: + version: 0.03 + +package: + name: perl-call-context + version: ${{ version }} + +source: + url: https://cpan.metacpan.org/authors/id/F/FE/FELIPE/Call-Context-${{ version }}.tar.gz + sha256: 0ee6bf46bc72755adb7a6b08e79d12e207de5f7809707b3c353b58cb2f0b5a26 + +build: + number: 0 + noarch: generic + script: + - perl Makefile.PL INSTALLDIRS=site NO_PERLLOCAL=1 NO_PACKLIST=1 + - make + - make test + - make install + - pod2text ${PREFIX}/lib/perl5/core_perl/pods/perlartistic.pod > LICENSE-ARTISTIC + - pod2text ${PREFIX}/lib/perl5/core_perl/pods/perlgpl.pod > LICENSE-GPL + +requirements: + build: + - make + host: + - perl + +tests: + - perl: + uses: + - Call::Context + +about: + license: GPL-1.0-or-later OR Artistic-1.0-Perl + license_file: + - LICENSE-ARTISTIC + - LICENSE-GPL + summary: Sanity-check calling context + homepage: http://metacpan.org/pod/Call-Context \ No newline at end of file