diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-11-09 18:09:07 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-11-11 03:20:52 +0900 |
commit | cd98eb7d6aed9c7564587236c539bebe85e1986f (patch) | |
tree | efe578bcd0a58ccee46e2fbc7fa93073e6f9f9a6 /strata | |
parent | fe2f7f23e5985171bfc111e6e4174e8063fbd99e (diff) | |
download | definitions-cd98eb7d6aed9c7564587236c539bebe85e1986f.tar.gz |
Added Berkeley DB to GNOME stratum
This is required for building libpinyin for chinese input methods.
Change-Id: I4c85caa0f38bd9b82321950cf8fa34ddd1d08376
Diffstat (limited to 'strata')
-rw-r--r-- | strata/gnome.morph | 5 | ||||
-rw-r--r-- | strata/gnome/berkeleydb.morph | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/strata/gnome.morph b/strata/gnome.morph index cc7ebf0e..8ae226f3 100644 --- a/strata/gnome.morph +++ b/strata/gnome.morph @@ -127,6 +127,11 @@ chunks: build-depends: - ibus - libhangul +- name: berkeleydb + morph: strata/gnome/berkeleydb.morph + repo: upstream:berkeleydb + ref: 780b92ada9afcf1d58085a83a0b9e6bc982203d1 + unpetrify-ref: db-6.1.23 - name: libcanberra repo: upstream:libcanberra ref: c0620e432650e81062c1967cc669829dbd29b310 diff --git a/strata/gnome/berkeleydb.morph b/strata/gnome/berkeleydb.morph new file mode 100644 index 00000000..e6238e7a --- /dev/null +++ b/strata/gnome/berkeleydb.morph @@ -0,0 +1,18 @@ +name: berkeleydb +kind: chunk +build-system: autotools +configure-commands: +- | + cd build_unix; + ../dist/configure --prefix="$PREFIX" \ + --enable-compat185 \ + --enable-dbm \ + --enable-cxx +build-commands: +- | + cd build_unix; + make +install-commands: +- | + cd build_unix; + make DESTDIR="$DESTDIR" install |