asterisk: Fixed runtime directory
This commit is contained in:
parent
cb9d783a13
commit
1ac8886d96
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user