2023-03-21 22:44:35 +03:00
|
|
|
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
|
2023-04-21 10:15:06 +03:00
|
|
|
- --disable-symvers
|
2023-03-21 22:44:35 +03:00
|
|
|
- --disable-failure-tokens
|
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
2023-04-21 10:15:06 +03:00
|
|
|
cc -L{{prefix}}/lib -lcrypt fixture.c
|
2023-03-21 22:44:35 +03:00
|
|
|
./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
|