IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=4.5 PROGNAME="GNU texinfo $VERSION" DESC="\ texinfo (GNU software documentation system) \n\ \n\ 'Texinfo' is a documentation system that uses a single source file to \n\ produce both on-line information and printed output. Using Texinfo, \n\ you can create a printed document with the normal features of a book, \n\ including chapters, sections, cross references, and indices. From the \n\ same Texinfo source file, you can create a menu-driven, on-line Info \n\ file with nodes, menus, cross references, and indices. \n\ \n\ This package is needed to read the documentation files in /usr/info." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/gnu/texinfo PKGNAME=texinfo-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/texinfo-$VERSION.tar.bz2 cd texinfo-$VERSION/ CFLAGS=-O2 ./configure --prefix=/usr make } install() { make install DESTDIR=/package-texinfo mkdir -p /package-texinfo/usr/doc/texinfo-$VERSION cp -a ABOUT-NLS AUTHORS COPYING COPYING.DOC INSTALL INTRODUCTION NEWS README TODO \ /package-texinfo/usr/doc/texinfo-$VERSION ( cd /package-texinfo/usr/info rm -f *.gz gzip -9 * ) # Be sure this is "fresh" rm /package-texinfo/usr/info/dir.gz zcat $CWD/dir.gz > /package-texinfo/usr/info/dir ( cd /package-texinfo/usr/man/ for dir in 1 5; do ( cd man$dir rm -f *.gz gzip -9 *.$dir ) done ) } attributes() { chown -R root.bin $PKG/package-texinfo/usr/bin } special() { cd $PKG mv package-texinfo/* ./ rmdir package-texinfo cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-texinfo/%%' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }