mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
51 lines
918 B
YAML
51 lines
918 B
YAML
distributable:
|
|
url: https://download.oracle.com/berkeley-db/db-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
- 18.1.40
|
|
|
|
dependencies:
|
|
openssl.org: ^1.1.1
|
|
|
|
build:
|
|
working-directory: build_unix
|
|
script: |
|
|
../dist/configure $ARGS
|
|
make install DOCLIST=license
|
|
rm -rf "{{prefix}}/docs"
|
|
env:
|
|
ARGS:
|
|
- --disable-debug
|
|
- --disable-static
|
|
- --prefix={{prefix}}
|
|
- --enable-cxx
|
|
- --enable-compat185
|
|
- --enable-sql
|
|
- --enable-sql_codegen
|
|
- --enable-dbm
|
|
- --enable-stl
|
|
|
|
test:
|
|
script: |
|
|
c++ fixture.cpp -ldb_cxx
|
|
./a.out
|
|
test -f test.db
|
|
|
|
provides:
|
|
- bin/db_verify
|
|
- bin/db_upgrade
|
|
- bin/db_tuner
|
|
- bin/db_replicate
|
|
- bin/db_stat
|
|
- bin/db_recover
|
|
- bin/db_load
|
|
- bin/db_log_verify
|
|
- bin/db_printlog
|
|
- bin/db_dump
|
|
- bin/db_hotbackup
|
|
- bin/db_deadlock
|
|
- bin/db_checkpoint
|
|
- bin/db_convert
|
|
- bin/db_archive
|