mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
parent
08f1a2de93
commit
9c4e85bcbf
1 changed files with 28 additions and 0 deletions
28
projects/bcrypt.sourceforge.net/package.yml
Normal file
28
projects/bcrypt.sourceforge.net/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
distributable:
|
||||||
|
url: https://bcrypt.sourceforge.net/bcrypt-{{version.marketing}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
- 1.1.0
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
zlib.net: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: |
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue