# Maintainer: Leonardo Arena 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"