pantry/projects/pwgen.sourceforge.io/package.yml

32 lines
No EOL
667 B
YAML

distributable:
url: https://downloads.sourceforge.net/project/pwgen/pwgen/2.08/pwgen-2.08.tar.gz
strip-components: 1
display-name: pwgen
versions:
url: https://sourceforge.net/projects/pwgen/files/pwgen/
match: _/projects/pwgen/files/pwgen/\d+.\d+/_
strip:
- _^/projects/pwgen/files/pwgen/_
- _/$_
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-debug
- --disable-dependency-tracking"
- --mandir="{{prefix}}/man"
provides:
- bin/pwgen
test:
pwgen --secure 20 10