IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.11.6 PROGNAME="The Concurrent Versions System $VERSION" DESC="\ cvs (Concurrent Versions System) \n\ \n\ CVS is a version control system, which allows you to keep old versions \n\ of files (usually source code), keep a log of who, when, and why \n\ changes occurred, etc., like RCS or SCCS. It handles multiple \n\ developers, multiple directories, triggers to enable/log/control \n\ various operations, and can work over a wide area network. \n\ \n\ Some of the people who have worked on CVS include: Dick Grune, \n\ Brian Berliner, Jeff Polk, and others too numerous to mention." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://download.cyclic.com/pub PKGNAME=cvs-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/cvs-$VERSION.tar.bz2 cd cvs-$VERSION/ chown -R root.root . CFLAGS=-O2 \ ./configure --prefix=/usr make CFLAGS=-O2 ( cd doc make txt ) } install() { make CFLAGS=-O2 LDFLAGS=-s install prefix=/package-cvs/usr mkdir -p /package-cvs/usr/doc/cvs-$VERSION cp -a BUGS COPYING* DEVEL-CVS FAQ HACKING INSTALL MINOR-BUGS NEWS doc/cvs.txt \ doc/cvsclient.txt PROJECTS README TESTS TODO \ /package-cvs/usr/doc/cvs-$VERSION ( cd /package-cvs/usr/doc/cvs-$VERSION rm -f *.gz gzip -9 FAQ gzip -9 cvs.txt gzip -9 cvsclient.txt ) (cd /package-cvs/usr/info rm -f *.gz gzip -9 * ) ( cd /package-cvs/usr/man/ for dir in 1 5 8; do ( cd man$dir rm -f *.gz gzip -9 *.$dir ) done ) ( cd /package-cvs/usr/doc/cvs-$VERSION ; rm -rf contrib ) ( cd /package-cvs/usr/doc/cvs-$VERSION ; ln -sf ../../share/cvs/contrib contrib ) } attributes() { chown -R root.bin $PKG/package-cvs/usr/bin/ } special () { cd $PKG mv package-cvs/* ./ rmdir package-cvs cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-cvs/%%' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }