mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
foundationdb: install the java client library
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
5a990f5629
commit
ed5cbbbc44
|
@ -254,7 +254,6 @@ only undergone fairly basic testing of all the available functionality.</para>
|
|||
</para></listitem>
|
||||
<listitem><para>Python bindings are not currently installed.</para></listitem>
|
||||
<listitem><para>Ruby bindings are not currently installed.</para></listitem>
|
||||
<listitem><para>Java bindings are not currently installed.</para></listitem>
|
||||
<listitem><para>Go bindings are not currently installed.</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
|
|
|
@ -64,18 +64,22 @@ in stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
makeFlags = [ "all" "fdb_c" "KVRELEASE=1" ];
|
||||
makeFlags = [ "all" "fdb_c" "fdb_java" "KVRELEASE=1" ];
|
||||
|
||||
configurePhase = ":";
|
||||
installPhase = ''
|
||||
mkdir -vp $out/{bin,libexec/plugins} $lib/lib $dev/include/foundationdb
|
||||
mkdir -vp $out/{bin,libexec/plugins} $lib/{lib,share/java} $dev/include/foundationdb
|
||||
|
||||
cp -v ./lib/libfdb_c.so $lib/lib
|
||||
cp -v ./lib/libfdb_java.so $lib/lib
|
||||
|
||||
cp -v ./lib/libFDBLibTLS.so $out/libexec/plugins/FDBLibTLS.so
|
||||
|
||||
cp -v ./bindings/c/foundationdb/fdb_c.h $dev/include/foundationdb
|
||||
cp -v ./bindings/c/foundationdb/fdb_c_options.g.h $dev/include/foundationdb
|
||||
|
||||
cp -v ./bindings/java/foundationdb-client.jar $lib/share/java
|
||||
|
||||
for x in fdbbackup fdbcli fdbserver fdbmonitor; do
|
||||
cp -v "./bin/$x" $out/bin;
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue