IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=6.12.00 PROGNAME="C shell $VERSION" DESC="\ tcsh (C shell) \n\ \n\ tcsh is an enhanced but completely compatible version of the Berkeley \n\ UNIX C shell, csh(1). It is a command language interpreter usable both \n\ as an interactive login shell and a shell script command processor. It \n\ includes a command-line editor, programmable word completion, spelling \n\ correction, a history mechanism, job control, and a C-like syntax." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.astron.com/pub/tcsh PKGNAME=tcsh-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/tcsh-$VERSION.tar.bz2 cd tcsh-$VERSION/ chown -R root.root . CFLAGS=-O2 ./configure --prefix= s390-slackware-linux make } install() { cd $TMP/tcsh-$VERSION/ make install install.man prefix=/package-tcsh/usr mkdir -p /package-tcsh/usr/doc/tcsh-$VERSION cp -a FAQ Fixes NewThings Ported README README.imake WishList Y2K \ /package-tcsh/usr/doc/tcsh-$VERSION ( cd /package-tcsh mv usr/bin/ bin/ cd bin rm -f csh ; ln -sf tcsh csh ) echo ".so man1/tcsh.1" > /package-tcsh/usr/man/man1/csh.1 ( cd /package-tcsh/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-tcsh/bin chmod 755 $PKG/package-tcsh/bin/* chmod 644 $PKG/package-tcsh/usr/man/man1/* } special() { cd $PKG mv package-tcsh/* ./ rmdir package-tcsh/ cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-tcsh/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new cat <> doinst.sh if fgrep tcsh etc/shells 1> /dev/null 2>/dev/null ; then GOOD=y else echo "/bin/csh" >> etc/shells echo "/bin/tcsh" >> etc/shells fi EOF }