diff options
Diffstat (limited to 'net-misc/asterisk/asterisk-1.6.0.ebuild')
-rw-r--r-- | net-misc/asterisk/asterisk-1.6.0.ebuild | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/net-misc/asterisk/asterisk-1.6.0.ebuild b/net-misc/asterisk/asterisk-1.6.0.ebuild index ec9de60..fef3747 100644 --- a/net-misc/asterisk/asterisk-1.6.0.ebuild +++ b/net-misc/asterisk/asterisk-1.6.0.ebuild @@ -23,6 +23,8 @@ RDEPEND="virtual/libc alsa? ( media-libs/alsa-lib ) caps? ( sys-libs/libcap ) curl? ( net-misc/curl ) + dahdi? ( >=net-libs/libpri-1.4.7 + net-misc/dahdi ) freetds? ( dev-db/freetds ) h323? ( dev-libs/pwlib net-libs/openh323 ) @@ -41,10 +43,6 @@ RDEPEND="virtual/libc ssl? ( dev-libs/openssl ) vorbis? ( media-libs/libvorbis )" -# zaptel? ( >=net-libs/libpri-1.6.0_beta1 -# >=net-misc/zaptel-1.4.9.2 )" - - DEPEND="${RDEPEND} !<net-misc/asterisk-addons-1.6" @@ -142,17 +140,6 @@ pkg_setup() { if [[ -n "${ASTERISK_MODULES}" ]] ; then ewarn "_insert random warning message here_" fi - - # - # - if use dahdi; then - eerror - eerror "DAHDI support requested. its comming... " - eerror "but its not here yet." - eerror - die "DAHDI support not available yet." - fi - } src_unpack() { @@ -262,13 +249,11 @@ src_compile() { $(use_with vorbis) \ $(use_with vorbis ogg) \ $(use_with freetds tds) \ + $(use_with dahdi) \ + $(use_with dahdi pri) \ + $(use_with dahdi tonezone) \ $(use_with postgres) || die "econf failed" - -# $(use_with zaptel) \ -# $(use_with zaptel pri) \ -# $(use_with zaptel tonezone) \ - # # custom module filter # run menuselect to evaluate the list of modules |