代码拉取完成,页面将自动刷新
#!/bin/bash
prefix=`pwd`
clean_deps_tmp()
{
rm -rf $prefix/deps/tbsys-install
rm -rf $prefix/deps/libeasy-install
}
if [ "$1" == "clean" ]; then
# clean deps
clean_deps_tmp
cd $prefix/deps/tbsys/
./build.sh clean > /dev/null 2>&1
cd $prefix/deps/libeasy
./bootstrap.sh clean > /dev/null 2>&1
cd $prefix
# clean tair
make distclean &>/dev/null
rm -rf aclocal.m4 autom4te.cache config.guess config.sub configure depcomp INSTALL install-sh ltmain.sh missing config.log config.status libtool compile
rm -f *.rpm *.gz
find . -name 'Makefile' -exec rm -f {} \;
find . -name '.deps' -exec rm -rf {} \;
find . -name '.libs' -exec rm -rf {} \;
find . -name 'Makefile.in' -exec rm -f {} \;
exit;
fi
# install deps
if [ "$1" != "skip-deps" ]; then
clean_deps_tmp
cd $prefix/deps/tbsys/
./build.sh
cd $prefix/deps/libeasy
./bootstrap.sh
./configure --prefix=$prefix/deps/libeasy-install --libdir=$prefix/deps/libeasy-install/lib64 --enable-static=yes --enable-shared=no
make -j && make install
cd $prefix
fi
libtoolize --force
aclocal
autoconf
automake --add-missing --force --warnings=no-portability
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。