diff options
author | Jakob Odersky <jodersky@gmail.com> | 2015-12-08 21:44:31 -0800 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2015-12-08 21:44:31 -0800 |
commit | eab2e148c7605ca0fd836bbe9230734895cce7d0 (patch) | |
tree | d7b2a00c2890830fd60a3ba811141ceb48a5d650 /flow-native/src/pkg | |
parent | 230e840e09eda41f95bb813ff666fc58c663c095 (diff) | |
download | akka-serial-eab2e148c7605ca0fd836bbe9230734895cce7d0.tar.gz akka-serial-eab2e148c7605ca0fd836bbe9230734895cce7d0.tar.bz2 akka-serial-eab2e148c7605ca0fd836bbe9230734895cce7d0.zip |
Use sbt-jni plugin
Diffstat (limited to 'flow-native/src/pkg')
-rwxr-xr-x | flow-native/src/pkg/mkpkg | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flow-native/src/pkg/mkpkg b/flow-native/src/pkg/mkpkg new file mode 100755 index 0000000..c82d9cb --- /dev/null +++ b/flow-native/src/pkg/mkpkg @@ -0,0 +1,20 @@ +#!/bin/sh +# +# This script produces a .pkg installable package on a mac. + +# Name of the package +PACKAGE=flow3 + +# Place to install libraries (should be on java.library.path) +LIBDIR=/Library/Java/Extensions + +# Temporary directory to install libraries +TEMPDIR=`pwd`/out + +mkdir ${TEMPDIR} && \ +cd .. && \ +./configure --libdir=${LIBDIR} && \ +make && \ +DESTDIR=${TEMPDIR} make install && \ +productbuild --root=pkg ${PACKAGE}.pkg + |