blob: 8fcee250d3bf3660d8f146d83787188de17c0950 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
|