mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
23 lines
460 B
YAML
23 lines
460 B
YAML
distributable:
|
|
url: https://bcrypt.sourceforge.net/bcrypt-{{version.marketing}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
- 1.1.0
|
|
|
|
dependencies:
|
|
zlib.net: '*'
|
|
|
|
build: make LDFLAGS=-lz PREFIX={{prefix}} install
|
|
|
|
provides:
|
|
- bin/bcrypt
|
|
|
|
test:
|
|
script: |
|
|
echo "Hello World!" > test.txt
|
|
printf '12345678\n12345678\n' | bcrypt -r test.txt
|
|
mv test.txt.bfe test.out.txt.bfe
|
|
printf '12345678\n' | bcrypt -r test.out.txt.bfe
|
|
cat test.out.txt
|