diff options
Diffstat (limited to 'main/iscsitarget-grsec/APKBUILD')
-rw-r--r-- | main/iscsitarget-grsec/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD index e86bea387e..b593044200 100644 --- a/main/iscsitarget-grsec/APKBUILD +++ b/main/iscsitarget-grsec/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_flavor=grsec +_flavor=${FLAVOR:-grsec} _realname=iscsitarget # source the kernel version if [ -f ../linux-$_flavor/APKBUILD ]; then @@ -15,7 +15,7 @@ _iscsiver=1.4.19 pkgname=${_realname}-${_flavor} pkgver=$_kver -_mypkgrel=0 +_mypkgrel=2 pkgrel=$(($_kpkgrel + $_mypkgrel)) pkgdesc="$_flavor kernel modules for iscsitarget $_iscsiver" url="http://iscsitarget.sourceforge.net/" @@ -45,6 +45,7 @@ build() { package() { cd "$srcdir"/$_realname-$_iscsiver + local ksrc=/usr/src/linux-headers-${_abi_release} make KSRC="$ksrc" DISTDIR="$pkgdir" install-kernel || return 1 } |