IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.11.5 PROGNAME="GNU gettext tools $VERSION" DESC="\ gettext-tools \n\ \n\ The GNU gettext-tools package is useful for authors and maintainers of \n\ internationalized software, or for anyone compiling programs that \n\ use the gettext functions. This package provides the needed tools and \n\ library functions for the handling of messages in different languages. \n\ Some other GNU packages use the gettext program (included in this \n\ package) to internationalize the messages given by shell scripts." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/gnu/gettext PKGNAME=gettext-tools-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/gettext-$VERSION.tar.bz2 cd gettext-$VERSION/ chown -R root.root . CFLAGS="-O2" \ ./configure --prefix=/usr make } install() { make install DESTDIR=/package-gettext ( cd /package-gettext/usr/man/man1/ rm -f *.gz gzip -9 *.1 ) ( cd /package-gettext/usr/man/man3 rm -f *.gz gzip -9 *.3 ) ( cd /package-gettext/usr/info rm -f *.gz gzip -9 * ) rm -rf /package-gettext/usr/include mv /package-gettext/usr/doc/gettext /package-gettext/usr/doc/gettext-$VERSION cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog DISCLAIM INSTALL \ NEWS PACKAGING README README.gemtext THANKS TODO \ /package-gettext/usr/doc/gettext-$VERSION } attributes() { chown -R root.bin $PKG/package-gettext/usr/bin/ } special() { cd $PKG mv package-gettext/* ./ rmdir package-gettext/ cd $CTL cat $CWD/slack-desc.gettext-tools > slack-desc sed -e 's%package-gettext/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new } subpacks() { repack gettext }