aboutsummaryrefslogtreecommitdiffstats
path: root/testing/core-iscsi-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/core-iscsi-tools/APKBUILD')
-rw-r--r--testing/core-iscsi-tools/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/core-iscsi-tools/APKBUILD b/testing/core-iscsi-tools/APKBUILD
new file mode 100644
index 0000000000..8fcee250d3
--- /dev/null
+++ b/testing/core-iscsi-tools/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=core-iscsi-tools
+pkgver=3.5
+pkgrel=0
+pkgdesc="High-Performance iSCSI Initiator"
+url="http://www.linux-iscsi.org/wiki/Core-iSCSI"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages="$pkgname-doc"
+#kernel.org is not yet fully operational
+#source="http://www.kernel.org/pub/linux/utils/storage/iscsi/$pkgname-v$pkgver.tar.bz2
+source="http://bo.mirror.garr.it/mirrors/kernel.org/linux/utils/storage/iscsi/${pkgname}-v${pkgver}.tar.gz
+ Makefile-fix-DESTDIR.patch"
+
+_builddir="$srcdir"/$pkgname-v${pkgver}
+
+prepare() {
+ cd "$_builddir"
+ patch -p1 < ../Makefile-fix-DESTDIR.patch
+}
+
+package() {
+ cd "$_builddir"
+ echo creating pkgdir/sbin
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="88fbcc7e24d77aafb68c4ab1f51996ff core-iscsi-tools-v3.5.tar.gz
+1ab0237213bac4bcbbe20ae99dcfdf44 Makefile-fix-DESTDIR.patch"