diff options
author | Jakob Odersky <jodersky@gmail.com> | 2014-04-21 17:29:01 +0200 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2014-04-21 17:29:01 +0200 |
commit | d37b9e1b32b4e7c3e457eaab31b2f9f9cfcec418 (patch) | |
tree | 62d6ff219022e3e6a71e4f7d3a709c0a23dd93ea /flow-native | |
parent | bcb73d6a0bb564be46257f56c0cb5f0ca25d5099 (diff) | |
download | akka-serial-d37b9e1b32b4e7c3e457eaab31b2f9f9cfcec418.tar.gz akka-serial-d37b9e1b32b4e7c3e457eaab31b2f9f9cfcec418.tar.bz2 akka-serial-d37b9e1b32b4e7c3e457eaab31b2f9f9cfcec418.zip |
automate mac package installation
Diffstat (limited to 'flow-native')
-rwxr-xr-x | flow-native/pkg/mkpkg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/flow-native/pkg/mkpkg b/flow-native/pkg/mkpkg new file mode 100755 index 0000000..0f683eb --- /dev/null +++ b/flow-native/pkg/mkpkg @@ -0,0 +1,16 @@ +#!/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 + +cd .. && \ +./configure --libdir=${LIBDIR} && \ +make && \ +DESTDIR=pkg make install && \ +productbuild --root=pkg ${PACKAGE}.pkg + |