# vim: set syn=sh: # Packager: Phill Watkins pkgname=gsmartcontrol pkgver=0.8.5 pkgrel=1pw #arch=noarch source=("http://download.berlios.de/gsmartcontrol/gsmartcontrol-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/pwatk/packages/13.2/xap/$pkgname docs=("COPYING" "INSTALL" "TODO") url=http://gsmartcontrol.berlios.de/ doinst() { if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database > /dev/null 2>&1 fi if [ -x usr/bin/gtk-update-icon-cache ]; then usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gsmartcontrol (Hard disk drive health inspection tool)" "GSmartControl is a graphical user interface for smartctl (from the" "smartmontools package) which is a tool for querying and controlling" "SMART (Self-Monitoring, Analysis, and Reporting Technology) data on" "modern hard disk drives. It allows you to inspect the drive's SMART" "data to determine its health, as well as run various tests on it." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux make -j $numjobs make install DESTDIR=$startdir/pkg set +e }