mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+gdbm
This commit is contained in:
parent
fc98aa5f94
commit
779c2f6f13
1 changed files with 28 additions and 0 deletions
28
projects/gnu.org/gdbm/package.yml
Normal file
28
projects/gnu.org/gdbm/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://ftp.gnu.org/gnu/gdbm/gdbm-{{ version.raw }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
#TODO HTML listing: https://ftp.gnu.org/gnu/gdbm/
|
||||
- 1.23
|
||||
|
||||
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
|
Loading…
Reference in a new issue