IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.68 PROGNAME="gaim $VERSION" DESC="\ gaim \n\ \n\ Gaim allows you to talk to anyone using a variety of messaging \n\ protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN \n\ Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These protocols \n\ are implemented using a modular, easy to use design. To use a \n\ protocol, just load the plugin for it. \n\ \n\ Gaim is NOT affiliated with or endorsed by AOL." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/gaim PKGNAME=gaim-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/gaim-$VERSION.tar.bz2 cd gaim-$VERSION/ chown -R root.root . if [ ! -r configure ]; then sh autogen.sh fi CFLAGS=-O2 \ ./configure --prefix=/usr \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux # I hate to use -i, but there are bugs in the .po files... make -i } install() { make install DESTDIR=/package-gaim mkdir -p /package-gaim/usr/doc/gaim-$VERSION cp -a ABOUT-NLS AUTHORS COPYING ChangeLog HACKING NEWS README doc/FAQ doc/CREDITS \ /package-gaim/usr/doc/gaim-$VERSION ( cd /package-gaim/usr/man/man1 rm -f *.gz gzip -9 *.1 ) rm -rf /usr/lib/perl5/5.8.0/s390-linux/Gaim.pm \ /usr/lib/perl5/5.8.0/s390-linux/auto/Gaim/ \ /usr/man/man3/Gaim.3 } attributes() { chown -R root.bin $PKG/package-gaim/usr/bin/ } special() { cd $PKG mv package-gaim/* ./ rmdir package-gaim cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-gaim/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }