Skip to content

Commit

Permalink
perl-convert-binary-c: add aarch64/arm64 build
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Oct 2, 2024
1 parent 5ca5963 commit bdf188c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion recipes/perl-convert-binary-c/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -xe

# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
Expand All @@ -10,7 +12,7 @@ if [ -f Build.PL ]; then
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
make
make -j ${CPU_COUNT}
make test
make install
else
Expand Down
7 changes: 6 additions & 1 deletion recipes/perl-convert-binary-c/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
sha256: {{ sha256 }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage('perl-convert-binary-c', max_pin="x.x") }}

Expand All @@ -33,3 +33,8 @@ about:
home: http://search.cpan.org/~mhx/Convert-Binary-C/
license: perl_5
summary: 'Binary Data Conversion using C Types'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit bdf188c

Please sign in to comment.