2023-02-06 04:45:12 +03:00
|
|
|
distributable:
|
|
|
|
url: https://ftp.gnu.org/gnu/gdbm/gdbm-{{ version.raw }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/gdbm/
|
|
|
|
match: /gdbm-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /gdbm-/
|
|
|
|
- /.tar.gz/
|
2023-02-06 04:45:12 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
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
|
2023-10-02 03:41:57 +03:00
|
|
|
- bin/gdbmtool
|