pantry/projects/blake2.net/libb2/package.yml
Andrew f08e5e65e2
blake2.net/libb2 (#1690)
* new file:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml

* modified:   projects/blake2.net/libb2/package.yml
2023-04-28 17:19:42 -04:00

35 lines
740 B
YAML

distributable:
url: https://github.com/BLAKE2/libb2/releases/download/v{{version}}/libb2-{{version}}.tar.gz
strip-components: 1
versions:
github: BLAKE2/libb2
strip: /^v/
build:
dependencies:
gnu.org/gcc: '*'
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --disable-silent-rules
darwin/x86-64:
ARGS:
- --enable-fat
linux/x86-64:
ARGS:
- --enable-fat
linux/aarch64:
ARGS:
- --enable-native="no"
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libb2 | grep {{version.raw}}