aboutsummaryrefslogtreecommitdiffstats
path: root/community/lsscsi/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-11-03 10:57:08 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-11-03 10:57:08 +0000
commit6a1568f5e17adf1bef21d1224496312410e28f79 (patch)
tree7aacc9d9e9aec5709a10ee45ec9d406900cf6be5 /community/lsscsi/APKBUILD
parent979dc41d557454e50795176f939c4403b13e7b5d (diff)
downloadaports-6a1568f5e17adf1bef21d1224496312410e28f79.tar.bz2
aports-6a1568f5e17adf1bef21d1224496312410e28f79.tar.xz
community/lsscsi: moved from main
Diffstat (limited to 'community/lsscsi/APKBUILD')
-rw-r--r--community/lsscsi/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/lsscsi/APKBUILD b/community/lsscsi/APKBUILD
new file mode 100644
index 0000000000..ee466a11b8
--- /dev/null
+++ b/community/lsscsi/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=lsscsi
+pkgver=0.28
+pkgrel=0
+pkgdesc="Lists information about SCSI devices"
+url="http://sg.danny.cz/scsi/lsscsi.html"
+arch="all"
+license="GPL"
+depends=
+makedepends="linux-headers"
+install=
+subpackages="$pkgname-doc"
+source="http://sg.danny.cz/scsi/$pkgname-$pkgver.tgz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+#prepare() {
+# cd "$_builddir"
+# apply patches here
+#}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="4a39e3b09cd422e2cae3edbaf56b3176 lsscsi-0.28.tgz"
+sha256sums="025d009a1af42bc5b2fca664c44c9ecdfd754356e4a44f5c6aced2420afadd50 lsscsi-0.28.tgz"
+sha512sums="6d5cf8ebc42af0d8dbe8f2a1e90f4c429d058f184027318686fd22bc117e66c0b1847e4c97964d3d0e1b7bf4a5f1e296e1e3575ed2f5ff999eef70bdfb9ea4d4 lsscsi-0.28.tgz"