summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/dahdi-linux/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/dahdi-linux/APKBUILD b/main/dahdi-linux/APKBUILD
index cb467746b..70efd3dee 100644
--- a/main/dahdi-linux/APKBUILD
+++ b/main/dahdi-linux/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=dahdi-linux
-pkgver=2.2.0.2
+pkgver=2.3.0
pkgrel=0
pkgdesc="Firmware for Digium Asterisk Hardware Device Interface drivers"
url="http://www.asterisk.org"
@@ -19,17 +19,23 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/$pkgname-
# kernel flavors. We also install the headers for the -dev package.
#
# The kernel drivers themselves are built from separate build recipe.
-
-build() {
+prepare() {
cd "$srcdir"/$pkgname-$pkgver
for i in ../*.patch ../*.diff; do
[ -f "$i" ] || continue
msg "Applying $i"
patch -p1 < $i || return 1;
done
+}
+build() {
+ return 0
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" HOTPLUG_FIRMWARE=yes \
install-include install-firmware
}
-md5sums="1f932729ad28f2f028afcf2cc5ccf7ba dahdi-linux-2.2.0.2.tar.gz"
+md5sums="2c26fc3ad3db731f1793a0fc638f1985 dahdi-linux-2.3.0.tar.gz"