aboutsummaryrefslogtreecommitdiffstats
path: root/main/iscsitarget-grsec
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-29 17:30:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-29 17:32:07 +0000
commit49b4c1dfaf90f1435fe46e47ded7ca768d0be291 (patch)
tree22df09cf43f9865fe5e67e63c54021df917c6dfe /main/iscsitarget-grsec
parent8c4ba598f3f964a8727f3f68ff3d3463d505d579 (diff)
downloadaports-49b4c1dfaf90f1435fe46e47ded7ca768d0be291.tar.bz2
aports-49b4c1dfaf90f1435fe46e47ded7ca768d0be291.tar.xz
*-grsec: upgrade kernel to 2.6.31.5
and use package() function
Diffstat (limited to 'main/iscsitarget-grsec')
-rw-r--r--main/iscsitarget-grsec/APKBUILD10
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"