pkgname=sg3_utils
pkgver=1.27
pkgrel=1
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64)
url="http://sg.torque.net/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
options=('!libtool')
source=(http://www.mythvantage.com/src/${pkgname}-${pkgver}.tgz)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr 
  make || return 1
  make DESTDIR=${startdir}/pkg install
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}