VERSION=1.0c19 BUILD=1 ARCH=i386 TAG=OPT PKGNAME=BitchX MAINTAINER="tg " IGNOREPATH=/tmp:/proc:/dev:/root:/var:/home:/usr/local STRIPLIB=y STRIPBIN=y PROGNAME=BitchX DESC="\ BitchX-$VERSION\n\ \n\is an advanced Internet Relay Chat (IRC) client. " compile() { tar xvzf $CWD/BitchX-$VERSION.tar.gz cd BitchX chown -R root.root . find . -perm 775 -exec chmod 755 {} \; find . -perm 664 -exec chmod 644 {} \; zcat $CWD/BitchX-$VERSION.diff.gz | patch -p1 CFLAGS="-O2 -march=i386 -mcpu=i686" \ ./configure --prefix=/usr --enable-cdrom --with-ssl --with-plugins make } install() { make install mkdir -p /usr/doc/BitchX-$VERSION cp -a README* COMPILE-PROBLEMS INST* doc/* \ BitchX.help BitchX.ircnames BitchX.quit BitchX.reasons \ /usr/doc/BitchX-$VERSION mkdir -p /install cat $CWD/slack-desc > /install/slack-desc }