Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add k8-1.0: enable linux-aarch64 build #46387

Closed
wants to merge 16 commits into from
4 changes: 4 additions & 0 deletions recipes/k8/0.2.5/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

mkdir -p $PREFIX/bin
cp k8-$(uname -s) $PREFIX/bin/k8
32 changes: 32 additions & 0 deletions recipes/k8/0.2.5/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{% set version = "0.2.5" %}

package:
name: k8
version: {{ version }}

source:
url: https://github.com/attractivechaos/k8/releases/download/{{ version }}/k8-{{ version }}.tar.bz2
sha256: a937ac44532e042cd89ac743647b592c21cfcf31679e39e5f362e81034d93d18

build:
number: 4
run_exports:
- {{ pin_subpackage('k8', max_pin="x.x") }}

requirements:
build:
- {{ compiler('cxx') }}
host:
- zlib
run:
- zlib

test:
commands:
- k8 -v | grep '^K8'

about:
home: https://github.com/attractivechaos/k8
license: MIT
license_family: MIT
summary: "Lightweight JavaScript shell based on Google's V8 JavaScript engine"
2 changes: 1 addition & 1 deletion recipes/k8/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

mkdir -p $PREFIX/bin
cp k8-$(uname -s) $PREFIX/bin/k8
cp k8-$(uname -m)-$(uname -s) $PREFIX/bin/k8
24 changes: 19 additions & 5 deletions recipes/k8/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,42 @@
{% set version = "0.2.5" %}
{% set version = "1.0" %}

package:
name: k8
version: {{ version }}

source:
url: https://github.com/attractivechaos/k8/releases/download/{{ version }}/k8-{{ version }}.tar.bz2
sha256: a937ac44532e042cd89ac743647b592c21cfcf31679e39e5f362e81034d93d18
url: https://github.com/attractivechaos/k8/releases/download/v{{ version }}/k8-{{ version }}.tar.bz2
sha256: 61504dad2d63404bf523d3f8d0a8bfd72ec78aa7bd79bdf9291a4f629cfb9c02

build:
number: 4
number: 0
run_exports:
- {{ pin_subpackage('k8', max_pin="x") }}

requirements:
build:
- {{ compiler('cxx') }}
- make
host:
- zlib
- wget
- tar
- sed
run:
- zlib

test:
commands:
- k8 -v | grep '^K8'
- k8 -v | grep '^k8'

about:
home: https://github.com/attractivechaos/k8
license: MIT
license_family: MIT
license_file: "LICENSE.txt"
summary: "Lightweight JavaScript shell based on Google's V8 JavaScript engine"
dev_url: https://github.com/attractivechaos/k8

extra:
additional-platforms:
- linux-aarch64
Loading