mirror of
https://github.com/encounter/phantomjs.git
synced 2026-03-30 11:35:11 -07:00
a398b3fec0
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
15 lines
358 B
Bash
Executable File
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/
|