diff options
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 + |