mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-27 19:05:16 +00:00
32 lines
614 B
Markdown
32 lines
614 B
Markdown
|
# Server Release Package
|
||
|
|
||
|
1. Libsearpc
|
||
|
cd libsearpc;
|
||
|
CFLAGS="-O2" configure --prefix=$dest
|
||
|
make install
|
||
|
2. Ccnet
|
||
|
cd ccnet;
|
||
|
CFLAGS="-O2" ./configure --enable-server-pkg --prefix=$dest
|
||
|
make install
|
||
|
3. Seafile
|
||
|
cd seafile;
|
||
|
CFLAGS="-O2" configure --enable-server-pkg --prefix=$dest
|
||
|
make install
|
||
|
4. copy shared libraries
|
||
|
scripts/cp-shared-lib.py $dest/lib
|
||
|
5. strip libs/executables
|
||
|
python do-strip.py
|
||
|
6. Update seahub
|
||
|
cd seahub
|
||
|
git fetch origin
|
||
|
git checkout release
|
||
|
git rebase origin/master
|
||
|
|
||
|
7. Pack
|
||
|
./pack-server.sh 1.0.0
|
||
|
|
||
|
DONE!
|
||
|
|
||
|
|
||
|
|