aboutsummaryrefslogtreecommitdiff
path: root/flow-native/pkg/mkpkg
blob: 0f683ebbe976359e468ffc9535dc5a190ffa9af4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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