diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-29 17:30:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-29 17:32:07 +0000 |
commit | 49b4c1dfaf90f1435fe46e47ded7ca768d0be291 (patch) | |
tree | 22df09cf43f9865fe5e67e63c54021df917c6dfe /main/dahdi-linux-grsec | |
parent | 8c4ba598f3f964a8727f3f68ff3d3463d505d579 (diff) | |
download | aports-49b4c1dfaf90f1435fe46e47ded7ca768d0be291.tar.bz2 aports-49b4c1dfaf90f1435fe46e47ded7ca768d0be291.tar.xz |
*-grsec: upgrade kernel to 2.6.31.5
and use package() function
Diffstat (limited to 'main/dahdi-linux-grsec')
-rw-r--r-- | main/dahdi-linux-grsec/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD index e2a40a391..d6320d13e 100644 --- a/main/dahdi-linux-grsec/APKBUILD +++ b/main/dahdi-linux-grsec/APKBUILD @@ -34,15 +34,22 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna dahdi-2.6.31.patch " -build() { +prepare() { cd "$srcdir/$_realname-$_dahdiver" for i in ../*.patch ../*.diff; do msg "Applying $i" patch -p1 < $i || return 1; done +} +build() { + cd "$srcdir/$_realname-$_dahdiver" make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ || return 1 +} + +package() { + cd "$srcdir/$_realname-$_dahdiver" make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ DESTDIR="$pkgdir" install rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \ |