IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=5.1_18 PKGVER=5.1-18 PROGNAME="smartmontools $VERSION" DESC="\ smartmontools (hard drive monitoring utilities) \n\ \n\ SMARTMONTOOLS contains utilities that control and monitor storage \n\ devices using the Self-Monitoring, Analysis and Reporting Technology \n\ (S.M.A.R.T.) system build into ATA and SCSI Hard Drives. This is used \n\ to check the reliability of the hard drive and to predict drive \n\ failures. SMARTMONTOOLS Version 5.x is designed to comply to the \n\ ATA/ATAPI-5 specification (Revision 1). Future releases of \n\ SMARTMONTOOLS (Versions 6.x and 7.x) will comply with the ATA/ATAPI-6 \n\ and ATA/ATAPI-7 specifications." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/smartmontools PKGNAME=smartmontools-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/smartmontools-$PKGVER.tar.gz cd smartmontools-$PKGVER/ make } install() { make install DESTDIR=/package-smartmontools mkdir -p /package-smartmontools/usr/doc/smartmontools-$PKGVER cp -a CHANGELOG COPYING README TODO VERSION \ /package-smartmontools/usr/doc/smartmontools-$PKGVER ( cd /package-smartmontools/usr/share/ mv man .. cd .. rm -rf man/man5 share ) rm -rf /package-smartmontools/etc } attributes() { chown -R root.bin $PKG/package-smartmontools/usr/sbin } special() { cd $PKG mv package-smartmontools/* ./ rmdir package-smartmontools cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-smartmontools/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }