Files
phantomjs/deploy/package-linux-dynamic.sh
Ariya Hidayat a398b3fec0 Revamp the build scripts in deploy/.
Technically only deploy/package-linux-dynamic.sh is relevant and it's
been adjusted appropriately. All other files are obsoleted with the new
build process.

http://code.google.com/p/phantomjs/issues/detail?id=226
2012-03-08 21:58:30 -08:00

15 lines
358 B
Bash
Executable File

#!/bin/bash
cd `dirname $0`/..
mkdir phantomjs
cp -r examples ChangeLog LICENSE.BSD README.md bin phantomjs
QT_LIB=src/qt/lib
mkdir phantomjs/lib
cp -r $QT_LIB/libQtCore.* $QT_LIB/libQtGui.* $QT_LIB/libQtNetwork.* $QT_LIB/libQtWebKit.* phantomjs/lib
chrpath -r \$ORIGIN/../lib phantomjs/bin/phantomjs
tar -czf phantomjs.tar.gz phantomjs
rm -r phantomjs/