IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.1.6 PROGNAME="cpint $VERSION" DESC="\ cpint (CP Interface) \n\ \n\ This is the cpint package developed by Neale Ferguson. It is \n\ intended to allow Linux/390 guests running under VM and/or z/VM to \n\ issue CP commands. The interface checks to make sure the user that \n\ is invoking it is root before issuing the command to CP." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://linuxvm.org/patches/s390/cpint-1.1.6.tar.gz PKGNAME=cpint-$VERSION-s390-$BUILD TAG=REC compile() { tar -zxvf $CWD/cpint-$VERSION.tar.gz cd cpint-$VERSION/ chown -R root.root . make } install() { make install prefix=/package-cpint mkdir -p /package-cpint/usr/doc/cpint-$VERSION cp -a ChangeLog HOW-TO /package-cpint/usr/doc/cpint-$VERSION find /package-cpint/lib/modules -type f | xargs gzip -9 } attributes() { chown -R root.bin $PKG/package-cpint/usr/sbin find $PKG/package-cpint/lib/modules -type f | xargs chmod 644 } special() { cd $PKG mv package-cpint/* ./ rmdir package-cpint cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-cpint/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new echo depmod -a >> doinst.sh }