aboutsummaryrefslogtreecommitdiffstats
path: root/main/sg3_utils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/sg3_utils/APKBUILD')
-rw-r--r--main/sg3_utils/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/sg3_utils/APKBUILD b/main/sg3_utils/APKBUILD
new file mode 100644
index 0000000000..617fe703e9
--- /dev/null
+++ b/main/sg3_utils/APKBUILD
@@ -0,0 +1,36 @@
+# 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"
+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"