IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=18.0 PROGNAME="emacspeak $VERSION" DESC="\ emacspeak (Emacs speech interface) \n\ \n\ Emacspeak is a speech interface that allows visually impaired users to \n\ interact independently and efficiently with the computer. By \n\ seamlessly blending all aspects of the Internet such as Web-surfing \n\ and messaging, Emacspeak speech-enables local and remote information \n\ via a consistent and well-integrated user interface. Emacspeak has \n\ dramatically changed how the author, T. V. Raman, and hundreds of \n\ blind and visually impaired users around the world interact with the \n\ personal computer and the Internet." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/emacspeak PKGNAME=emacspeak-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/emacspeak-18.tar.bz2 cd emacspeak-$VERSION/ chown -R root.root . find . -perm 775 -exec chmod 755 {} \; find . -perm 700 -exec chmod 755 {} \; find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; make config make } install() { make install prefix=/package-emacspeak/usr mkdir -p /package-emacspeak/usr/doc ln -sf /usr/share/emacs/site-lisp/emacspeak /package-emacspeak/usr/doc/emacspeak-$VERSION mv /package-emacspeak/usr/share/info /package-emacspeak/usr/ ( cd /package-emacspeak/usr/info rm -f *.gz gzip -9 * ) } attributes() { chown -R root.bin $PKG/package-emacspeak/usr/bin } special() { cd $PKG mv package-emacspeak/* ./ rmdir package-emacspeak cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-emacspeak/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }