summaryrefslogtreecommitdiff
path: root/libodb-pgsql/manifest
blob: 1c58eb3bbeb4372e207c1b1920a42bae47d7f090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
: 1
name: libodb-pgsql
version: 2.5.0-b.26.z
project: odb
summary: PostgreSQL ODB runtime library
license: GPL-2.0-only
license: other: proprietary ; Not free/open source.
topics: C++, ORM, PostgreSQL, SQL
description-file: README
changes-file: NEWS
url: https://www.codesynthesis.com/products/odb/
doc-url: https://www.codesynthesis.com/products/odb/doc/manual.xhtml
src-url: https://git.codesynthesis.com/cgit/odb/odb/
email: odb-users@codesynthesis.com
build-warning-email: odb-builds@codesynthesis.com
requires: c++11

# @@ TMP Bump the toolchain version to 0.17.0 after it is released.
#
depends: * build2 >= 0.16.0-
depends: * bpkg >= 0.16.0-

depends: libpq >= 7.4.0
depends: libodb == $
depends: * cli ^1.2.0- ? ($config.libodb_pgsql.develop)

tests: odb-tests == $ \
  ? (!$defined(config.odb_tests.database)) config.odb_tests.database=pgsql

builds: all
builds: -wasm

build-auxiliary: *-postgresql_*

default-build-config:
\
{
  config.odb_tests.pgsql.user=$getenv(DATABASE_USER)
  config.odb_tests.pgsql.database=$getenv(DATABASE_NAME)
  config.odb_tests.pgsql.host=$getenv(DATABASE_HOST)
  config.odb_tests.pgsql.port=$getenv(DATABASE_PORT)
}+ odb-tests
\

# Only build this package configuration where it can be tested via odb-tests
# package (see its manifest for details).
#
multi-builds: all
multi-builds: -wasm
multi-builds: -( +windows -gcc )
multi-builds: &gcc
multi-builds: &gcc-5+
multi-builds: -static
multi-build-config:
\
{
  config.odb_tests.multi_database=true

  config.odb_tests.pgsql.user=$getenv(DATABASE_USER)
  config.odb_tests.pgsql.database=$getenv(DATABASE_NAME)
  config.odb_tests.pgsql.host=$getenv(DATABASE_HOST)
  config.odb_tests.pgsql.port=$getenv(DATABASE_PORT)
}+ odb-tests
\