# Contributor: Carlo Landmeter # Maintainer: pkgname=sg3_utils pkgver=1.29 pkgrel=0 pkgdesc="Generic SCSI utilities" url="http://sg.danny.cz/sg/sg3_utils.html" arch="all" license="GPL" depends= makedepends= install= subpackages="$pkgname-dev $pkgname-doc" source="http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="17b8f2bc1b32bd036515683cc87328ea sg3_utils-1.29.tgz"