summaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-vserver
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-23 15:53:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-23 15:53:04 +0000
commit8dfe5aacac2e8563d44db5be2fb1eb8708ee2782 (patch)
tree67747a88599f617e16ec8cf107003306b75514cf /main/dahdi-linux-vserver
parent5a93ee638c97b816c666a8f841e86cadc6a210fe (diff)
downloadaports-8dfe5aacac2e8563d44db5be2fb1eb8708ee2782.tar.bz2
aports-8dfe5aacac2e8563d44db5be2fb1eb8708ee2782.tar.xz
main/dahdi-linux-vserver: fix pkgrelv2.0.0_beta2
cannot depend on other apkbuild for _dahdiver
Diffstat (limited to 'main/dahdi-linux-vserver')
-rw-r--r--main/dahdi-linux-vserver/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/main/dahdi-linux-vserver/APKBUILD b/main/dahdi-linux-vserver/APKBUILD
index f1eb9a38b..cfc07ef31 100644
--- a/main/dahdi-linux-vserver/APKBUILD
+++ b/main/dahdi-linux-vserver/APKBUILD
@@ -3,12 +3,6 @@
_flavor=${FLAVOR:-vserver}
-# source dahdi-linux ver
-if [ -f ../dahdi-linux/APKBUILD ]; then
- . ../dahdi-linux/APKBUILD
-fi
-_dahdiver=$pkgver
-
# source the kernel version
if [ -f ../linux-${_flavor}/APKBUILD ]; then
. ../linux-${_flavor}/APKBUILD
@@ -21,7 +15,9 @@ _realname=dahdi-linux
pkgname=${_realname}-${_flavor}
pkgver=$pkgver
-_mypkgrel=0
+# when bumping _dahdiver we *must* bump _mypkgrel
+_dahdiver=2.3.0.1
+_mypkgrel=3
pkgrel=$(( $_kpkgrel + $_mypkgrel ))
pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver"
url="http://www.asterisk.org"
@@ -68,7 +64,7 @@ depends_dev="dahdi-linux-dev"
dev() {
default_dev
local dir="$subpkgdir"/usr/src/dahdi-headers-${_abi_release}
- install -D "$srcdir"/$_realname-$pkgver/drivers/dahdi/Module.symvers \
+ install -D "$srcdir"/$_realname-$_dahdiver/drivers/dahdi/Module.symvers \
"$dir"/drivers/dahdi/Module.symvers
ln -s /usr/include "$dir"/include
}