mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
27 lines
691 B
YAML
27 lines
691 B
YAML
distributable:
|
|
url: https://github.com/besser82/libxcrypt/releases/download/v{{version}}/libxcrypt-{{version}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: besser82/libxcrypt/releases/tags
|
|
|
|
build:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: ~0.29
|
|
perl.org: '*'
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-valgrind
|
|
- --disable-symvers
|
|
- --disable-failure-tokens
|
|
|
|
test:
|
|
script: |
|
|
cc -L{{prefix}}/lib -lcrypt fixture.c
|
|
./a.out
|
|
# ^^ we nee to add the -L because system lib paths come first on Linux
|
|
# and most linuxes have a (arcaic) libcrypt.so in /lib
|