blob: d139bf4ac6291bd346f7cad905e21b0cfcc624e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
TOOLS=`dirname $0`
ROOT=$TOOLS/..
VERSION=`git describe`
CONTENTS=dist-osx/nodejs-$VERSION
# go build it in the root of the git repository
pushd $ROOT
./configure --prefix=/usr/local/nodejs
make
make install DESTDIR="$CONTENTS"
mkdir -p "$CONTENTS/usr/local/bin"
pushd "$CONTENTS/usr/local/bin"
ln -s ../nodejs/bin/* .
popd # $CONTENTS/usr/local/bin
popd # $ROOT
"$TOOLS/osx-pkg-dmg-create.sh" "$ROOT/$CONTENTS" NodeJS $VERSION 'org.nodejs'
|