summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/sdparm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/sdparm/PKGBUILD')
-rw-r--r--abs/core-testing/sdparm/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core-testing/sdparm/PKGBUILD b/abs/core-testing/sdparm/PKGBUILD
new file mode 100644
index 0000000..d6b7155
--- /dev/null
+++ b/abs/core-testing/sdparm/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: grimi@poczta.fm
+
+pkgname=sdparm
+pkgver=1.02
+pkgrel=2
+pkgdesc="An utility similar to hdparm but for SCSI devices"
+arch=('i686' 'x86_64')
+url="http://sg.torque.net/sg/sdparm.html"
+groups=('base')
+license=('BSD')
+depends=('glibc')
+source=("http://sg.torque.net/sg/p/$pkgname-$pkgver.tgz")
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ install -Dm644 COPYING $startdir/pkg/usr/share/licenses/sdparm/COPYING
+}