summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-21 16:01:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-21 16:01:56 +0000
commit82af859ee6efb8e9f3828216788cf20f69b8cbac (patch)
tree947ef3447b92cca0c52789dd5cf8eb37462672ee
parent6015d1bd6c1e06b0812ff5c3f865f0b54e747bdb (diff)
downloadaports-82af859ee6efb8e9f3828216788cf20f69b8cbac.tar.bz2
aports-82af859ee6efb8e9f3828216788cf20f69b8cbac.tar.xz
extra/asterisk: create the missing /var/run/asterisk dir
-rw-r--r--extra/asterisk/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/asterisk/APKBUILD b/extra/asterisk/APKBUILD
index f35676ae..17acd6df 100644
--- a/extra/asterisk/APKBUILD
+++ b/extra/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=1.6.0.9
-pkgrel=0
+pkgrel=1
pkgdesc="Asterisk: A Module Open Source PBX System"
url="http://www.asterisk.org/"
license="GPL"
@@ -50,6 +50,7 @@ build() {
make -j1 || return 1
make -j1 DESTDIR="$pkgdir" install
+ install -d "$pkgdir"/var/run/asterisk
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}