From 1ac8886d96e5f602ef37348d79db6a8a383c3cd4 Mon Sep 17 00:00:00 2001 From: Alan Mizrahi Date: Thu, 20 May 2010 15:15:54 +0900 Subject: asterisk: Fixed runtime directory --- asterisk/Pkgfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'asterisk') diff --git a/asterisk/Pkgfile b/asterisk/Pkgfile index 18459e751..1a749fd88 100644 --- a/asterisk/Pkgfile +++ b/asterisk/Pkgfile @@ -5,7 +5,7 @@ name=asterisk version=1.4.29.1 -release=1 +release=2 source=(http://downloads.digium.com/pub/$name/releases/$name-$version.tar.gz asterisk.rc asterisk-mmx.patch 1.4-gsm-gcc4.2.patch voicemail.patch) build () { @@ -25,6 +25,9 @@ build () { make make DESTDIR=$PKG install make DESTDIR=$PKG samples + + sed -i -e 's|^astrundir => .*|astrundir => /var/run/asterisk|' $PKG/etc/asterisk/asterisk.conf + mv $PKG/usr/share/man $PKG/usr install -m 755 -D $SRC/asterisk.rc $PKG/etc/rc.d/asterisk rmdir $PKG/usr/{share,bin} -- cgit v1.2.3