From d98381247dcbd670c68bc3be0232d49fe2013e55 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 4 Dec 2024 09:15:25 +0100 Subject: [PATCH] add missing recipe --- test-data/recipes/perl-test/recipe.yaml | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 test-data/recipes/perl-test/recipe.yaml 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