?? mrxvt.slackbuild
字號(hào):
#!/bin/sh## All portions of code are copyright by their respective author/s.# Copyright (c) 2004 Patrick Volkerding <volkerdi@slackware.com># Copyright (c) 2004 Jingmin Zhou <jimmyzhou@users.sourceforge.net>## This program is free software; you can redistribute it and/or modify it under# the terms of the GNU General Public License as published by the Free Software# Foundation; either version 2 of the License, or (at your option) any later# version.## This program is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more# details.## You should have received a copy of the GNU General Public License along with# this program; if not, write to the Free Software Foundation, Inc., 675 Mass# Ave, Cambridge, MA 02139, USA.# Sample SlackBuild script to build mrxvt for Slackware Linux# based on rxvt's SlackBuild from slackware.com. Thanks to# Slackware Linux! Without you, mrxvt may not exist...VERSION=0.4.1ARCH=i486BUILD=1# directoriesTMP=/tmpCWD=`pwd`PKG=$TMP/package-mrxvtDOC=$PKG/usr/doc/mrxvt-$VERSIONIMG=$PKG/usr/share/pixmaps# clean temporary filesrm -rf $PKGmkdir -p $PKG# uncompress source codecd $TMPrm -rf mrxvt-$VERSIONtar zxvf $CWD/mrxvt-$VERSION.tar.gz# build packagecd mrxvt-$VERSIONchown -R root.root .if [ ! -r configure ]; then ./bootstrap.shfiCFLAGS="-O2 -march=i486 -mcpu=i686" \ ./configure \ --prefix=/usr/X11R6 \ --enable-everything \ --with-save-lines=600 \ --with-encoding=noenc \ --disable-ourstrings \ --disable-debug \ $ARCH-slackware-linuxmakemake install DESTDIR=$PKG# strip binarystrip --strip-unneeded $PKG/usr/X11R6/bin/*# chown directorychown -R root.bin $PKG/usr/X11R6/bin# copy documentsrm -rf $PKG/usr/X11R6/sharemkdir -p $DOCcp -a \ AUTHORS COPYING CREDITS ChangeLog FAQ INSTALL README* \ doc/README.* doc/TIPS doc/xdefaults-sample.txt doc/xterm.seq \ $DOC# copy iconsmkdir -p $IMGcp -a doc/mrxvt*.png doc/mrxvt*.xpm $IMG# compress man pagegzip -9 $PKG/usr/X11R6/man/man1/*# copy description filemkdir -p $PKG/installcat $CWD/mrxvt.slack-desc > $PKG/install/slack-desc# create packagecd $PKGmakepkg -l y -c n $TMP/mrxvt-$VERSION-$ARCH-$BUILD.tgz
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -