diff options
Diffstat (limited to 'main/iscsitarget-grsec/APKBUILD')
-rw-r--r-- | main/iscsitarget-grsec/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD index ad63f44a9a..009165e9e7 100644 --- a/main/iscsitarget-grsec/APKBUILD +++ b/main/iscsitarget-grsec/APKBUILD @@ -25,16 +25,24 @@ subpackages= source="http://downloads.sourceforge.net/$_realname/$_realname-$_iscsiver.tar.gz " -build() { +prepare() { cd "$srcdir"/$_realname-$_iscsiver # for i in ../*.patch; do # msg "Applying $i" # patch -p1 < $i || return 1 # done +} +build() { + cd "$srcdir"/$_realname-$_iscsiver unset ARCH local ksrc=/usr/src/linux-headers-${_abi_release} make KSRC="$ksrc" kernel || return 1 +} + +package() { + cd "$srcdir"/$_realname-$_iscsiver make KSRC="$ksrc" DISTDIR="$pkgdir" install-kernel || return 1 } + md5sums="9e756e89cc47aaa71824ed34a6560543 iscsitarget-1.4.18.tar.gz" |