# tcsh, ftp://ftp.astron.com/pub/tcsh name=tcsh version=6.15 release=1 source=(ftp://ftp.astron.com/pub/tcsh/$name-$version.00.tar.gz csh.login csh.logout csh.cshrc) build() { cd $name-$version.00 LDFLAGS="$LDFLAGS -lncurses" \ ./configure \ --prefix= \ --mandir=/usr/share/man make make DESTDIR=$PKG install install.man ( cd $PKG/bin ; ln -sf tcsh csh ) ( cd $PKG/usr/share/man/man1 ; ln -sf tcsh.1.gz csh.1.gz ) install -D -m0644 ../csh.login $PKG/etc/csh.login install -D -m0644 ../csh.logout $PKG/etc/csh.logout install -D -m0644 ../csh.cshrc $PKG/etc/csh.cshrc chmod +w $PKG -R }