mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
44dba213e5
* update(aspell) * update(pango) * update(binutils) * update(gawk) * 11 more
31 lines
No EOL
653 B
YAML
31 lines
No EOL
653 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/gdbm/gdbm-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/gdbm/
|
|
match: /gdbm-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
strip:
|
|
- /gdbm-/
|
|
- /.tar.gz/
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/make: '*'
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
./configure --prefix={{ prefix }} --without-readline
|
|
make install
|
|
|
|
test:
|
|
script: |
|
|
echo -e $INPUT1 | gdbmtool --norc --newdb test
|
|
test $(echo -e $INPUT2 | gdbmtool --norc test) = "2"
|
|
env:
|
|
INPUT1: "store 1 2\\nquit\\n"
|
|
INPUT2: "fetch 1\\nquit\\n"
|
|
|
|
provides:
|
|
- bin/gdbm_dump
|
|
- bin/gdbm_load
|
|
- bin/gdbmtool |