1 Star 0 Fork 56

IBOX/RabbitIm

forked from 尘年灬往事/RabbitIm 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_debpackage.sh 1012 Bytes
一键复制 编辑 原始数据 按行查看 历史
kl222 提交于 2020-07-20 11:05 . CMakeFiles.txt is ok
#!/bin/bash
function help()
{
echo "$0 QT_ROOT THIRD_LIBRARY_PATH [RabbitCommon_DIR]"
}
if [ -n "$1" -a -z "$QT_ROOT" ]; then
QT_ROOT=$1
fi
if [ ! -f /usr/bin/qmake -a -z "$QT_ROOT" ]; then
help
exit -1
fi
if [ -n "$2" -a -z "$THIRD_LIBRARY_PATH" ]; then
export THIRD_LIBRARY_PATH=$2
export LD_LIBRARY_PATH=$THIRD_LIBRARY_PATH/lib
export PKG_CONFIG_PATH=$THIRD_LIBRARY_PATH/lib/pkgconfig
else
help
exit -2
fi
if [ -n "$3" -a -z "$RabbitCommon_DIR" ]; then
RabbitCommon_DIR=$3
fi
if [ -z "$RabbitCommon_DIR" ]; then
RabbitCommon_DIR=`pwd`/../RabbitCommon
fi
if [ ! -d "$RabbitCommon_DIR" ]; then
help
exit -3
fi
export RabbitCommon_DIR=$RabbitCommon_DIR
export QT_ROOT=$QT_ROOT
export PATH=$QT_ROOT/bin:$PATH
export LD_LIBRARY_PATH=$QT_ROOT/lib/i386-linux-gnu:$QT_ROOT/lib:`pwd`/debian/rabbitim/opt/RabbitIm/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$QT_ROOT/lib/pkgconfig:$PKG_CONFIG_PATH
fakeroot debian/rules binary
#dpkg-buildpackage -us -uc -b
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ZEROBOX/rabbitim.git
git@gitee.com:ZEROBOX/rabbitim.git
ZEROBOX
rabbitim
RabbitIm
master

搜索帮助