initial commit

This commit is contained in:
2018-10-18 16:31:50 -03:00
commit 482d52e96f
26 changed files with 376 additions and 0 deletions

8
script/linux_bundler.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh -eu
libdir="${MESON_INSTALL_PREFIX}/lib"
mkdir -p $libdir
libfile=`ldd ${MESON_INSTALL_PREFIX}/bin/sernatur | grep libpq | cut -d ' ' -f 3`
cp $libfile "${libdir}"
strip "${libdir}/libpq"*

2
script/meson.build Normal file
View File

@@ -0,0 +1,2 @@
install_data('sernatur.sh', install_dir: '.')
meson.add_install_script('linux_bundler.sh')

6
script/sernatur.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
cd "${0%/*}"
export LD_LIBRARY_PATH="`pwd`/lib"
bin/sernatur