# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../asterisk/asterisk.conf # Copyright (C) 2009 - 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- if [ $prefix_auto = 1 ] ; then prefix="opt/asterisk" set_confopt fi var_append makeopt ' ' "ASTLIBDIR=$libdir" var_append makeopt ' ' "ASTVARLIBDIR=$datadir" var_append makeopt ' ' "ASTETCDIR=$sysconfdir" var_append makeopt ' ' "ASTSPOOLDIR=$localstatedir/spool" var_append makeopt ' ' "ASTLOGDIR=$localstatedir/log" var_append makeopt ' ' "ASTHEADERDIR=$includedir/asterisk" var_append makeopt ' ' "ASTBINDIR=$bindir" var_append makeopt ' ' "ASTSBINDIR=$sbindir" var_append makeopt ' ' "ASTVARRUNDIR=$localstatedir/run" var_append makeopt ' ' "ASTMANDIR=$mandir" makeinstopt="$makeopt install" var_append makeinstopt " " "samples" # postgresql support if pkginstalled -f postgresql; then var_append extraconfopt ' ' "--with-postgres=$( pkgprefix -r postgresql )" fi