IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.2.06 PROGNAME="ispell $VERSION=3.2.06" DESC="\ ispell (spelling checker) \n\ \n\ Ispell is a fast screen-oriented spelling checker that shows you your \n\ errors in the context of the original file, and suggests possible \n\ corrections when it can figure them out. Compared to UNIX spell, it \n\ is faster and much easier to use. Ispell can also handle languages \n\ other than English. Ispell has a long history, and many people have \n\ contributed to the current version -- some of the major contributors \n\ include R. E. Gorin, Pace Willisson, Walt Buehring, and Geoff \n\ Kuenning." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://fmg-www.cs.ucla.edu/geoff/tars/ispell-3.2.06.tar.gz PKGNAME=ispell-$VERSION-s390x-$BUILD TAG=OPT compile() { tar -xvzf $CWD/ispell-$VERSION.tar.gz cd ispell-$VERSION/ rm -f local.h zcat $CWD/ispell.diff.gz | patch -p1 -E cat $CWD/makefile.diff | patch -p1 -E cat $CWD/makefile2.diff | patch -p1 -E make CC=gcc YACC=byacc } install() { mkdir -p /package-ispell/usr/bin \ /package-ispell/usr/lib \ /package-ispell/usr/man/man1 \ /package-ispell/usr/man/man4 cp -p config.sh config.sh.save sed -e "s%='/%='/package-ispell/%" config.sh.save > config.sh make install ( cd /package-ispell/usr/man/man1 rm -f *.gz gzip -9 *.1 ) ( cd /package-ispell/usr/man/man4 rm -rf *.gz gzip -9 *.4 ) mkdir -p /package-ispell/usr/doc/ispell-$VERSION/ cp -a Contributors Magiclines README WISHES \ /package-ispell/usr/doc/ispell-$VERSION/ ( cd /package-ispell/usr/lib/ispell rm -rf american.hash ; ln -sf americanmed.hash american.hash rm -rf english.hash ; ln -sf americanmed.hash english.hash ) } attributes() { chown -R root.bin $PKG/package-ispell/usr/bin chmod 444 $PKG/package-ispell/usr/doc/ispell-$VERSION/* # chown -R root.root $PKG/package-ispell/usr/doc/ispell-$VERSION } special() { cd $PKG mv package-ispell/* ./ rmdir package-ispell/ cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-ispell/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }