|
xorg 一开始的脚本的作用我没看明白。
bash -e #exit on all errors
section=<proto>
version=7.5-2
mkdir $section
cd $section
# download and check packages
grep -v '^#' ../${section}-${version}.wget | wget -i- -c \
-B http://xorg.freedesktop.org/releases/individual/${section}/
md5sum -c ../${section}-${version}.md5
# build packages
for package in $(grep -v '^#' ../${section}-${version}.wget)
do
packagedir=$(echo $package | sed 's/.tar.bz2//')
tar -xf $package
cd $packagedir
./configure $XORG_CONFIG
make
make install
cd ..
rm -rf $packagedir
done 2>&1 | tee -a ../xorg-${section}-compile.log #log the entire loop
大致意思是下载编译安装软件包,并且是根据后面章节的xxx.wget文件下载的,可重复使用。但是后面每一节又提供其他脚本来下载很验证软件包,这是怎么回事? |
|