blob: c82d9cb67beeccd1b3926a500fc9554801b11fe6 (
plain) (
tree)
|
|
#!/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
|