diff options
Diffstat (limited to 'flow-native/pkg')
-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 + |