📄 mkfirestorm.sh
字号:
#!/bin/shCVSROOT=~/cvsrootRPMROOT=~/rpmROOT=~/firestorm-buildDIR="firestorm-0.5.2"TAG="HEAD"## export from CVS and cd into rootmkdir -p $ROOTcvs -d $CVSROOT export -r $TAG -d $ROOT/$DIR firestormpushd $ROOT/$DIR## Setup the source codeaclocalautoheaderautomake -c -a --gnulibtoolize --automake -c -fautoconf## Make the source tarballcd ..tar -zcf $DIR.tar.gz $DIR## Prepare to make the RPMscp $DIR/firestorm.spec $RPMROOT/SPECS/cp $DIR.tar.gz $RPMROOT/SOURCES/pushd $RPMROOT# Build the PPC RPMsrpmbuild -ba SPECS/firestorm.specrpmbuild --clean SPECS/firestorm.spec# Build the intel RPMsenv CC=i486-redhat-linux-gcc rpmbuild -ba --target=i386-redhat-linux SPECS/firestorm.specrpmbuild --clean SPECS/firestorm.specrm -f SPECS/firestorm.specrm -f SOURCES/$DIR.tar.gzmv RPMS/*/firestorm-*.rpm $ROOTmv SRPMS/firestorm-*.rpm $ROOTpopd## Finish uprm -rf $ROOT/$DIRpopd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -