IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=6.3.2 PROGNAME="acct $VERSION" DESC="\ acct (process accounting utilities) \n\ \n\ This is a set of utilities which reports and summarizes data about \n\ user connect times and process execution statistics. To activate \n\ process accounting, create the log file (touch /var/log/pacct), and \n\ then use the accton command to start it (accton /var/log/pacct). \n\ Be aware that the log file can grow to be quite large. \n\ \n\ The GNU process accounting utilities were written by Noel Cragg." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/acct PKGNAME=acct-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/acct-$VERSION.tar.gz cd acct-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 ./configure --prefix=/usr zcat $CWD/acct.files.diff.gz | patch -p1 --verbose --backup --suffix=.orig make } install() { make install prefix=/package-acct/usr ( cd /package-acct/ mkdir sbin/ rm usr/bin/last mv usr/sbin/accton sbin/ mv usr/sbin/sa usr/bin/ ) mkdir -p /package-acct/usr/doc/acct-$VERSION cp -a AUTHORS COPYING NEWS README \ /package-acct/usr/doc/acct-$VERSION ( cd /package-acct/usr/info rm -f *.gz gzip -9 * ) ( cd /package-acct/usr/man/ rm man1/last.1 for dir in 1 8; do ( cd man$dir rm -f *.gz gzip -9 *.$dir ) done ) } attributes() { chown -R root.bin $PKG/package-acct/sbin/ \ $PKG/package-acct/usr/bin/ \ $PKG/package-acct/usr/sbin } special() { cd $PKG mv package-acct/* ./ rmdir package-acct cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-acct/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }