You are not logged in.

#1 2008-06-09 11:06:20

judfilm
Member
Registered: 2004-02-12
Posts: 229

[Request] FreeSwitch - VoIP Telephony Platform

Hi, trying to get FreeSwitch to work, any help would be greatly appreciated. Thanks in advance.

# $Id: $
# Contributor: <Your name could be here!>

pkgname=freeswitch
pkgver=1.0.0
pkgrel=1
pkgdesc="An Open-Source VoIP Telephony Platform"
arch=('i686' 'x86_64')
url="http://www.freeswitch.org/"
license=('MPL')
source=(http://files.freeswitch.org/$pkgname-$pkgver.tar.gz)
md5sums=('c0db2e4097d40c2a652d15b8acea2608')

build() {
    cd $srcdir/freeswitch
    ./configure
    make all DESTDIR="$pkgdir" install || return 1
}

Edit: Updated from the suggestions by Stythys (Post #2) Thanks for your help!

Last edited by judfilm (2008-06-12 12:37:23)

Offline

#2 2008-06-11 05:07:15

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: [Request] FreeSwitch - VoIP Telephony Platform

I don't think you need a depends() line...all of the dependencies listed on that site come default in the core repo.

change your url= to source=

add: url=http://wiki.freeswitch.org

Also your missing the md5sums line.

As for the build(), put:
cd $srcdir/freeswitch
./configure
make all DESTDIR="$pkgdir" install || return 1

That should do it.

Last edited by Stythys (2008-06-11 05:07:44)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#3 2010-06-27 20:12:49

timofonic
Member
Registered: 2007-05-15
Posts: 47

Re: [Request] FreeSwitch - VoIP Telephony Platform

Hello.

I modified the package, as it was orphaned. Now it uses FreeSWITCH 1.0.6.

zaptel package didn't exist, so I changed the dependence to dahdi because it's the new name of the project and the package is up-to-date. Unfortunately the FreeSWITCH package has compiling problems.

-> Freeswitch found
==> Validating source file with md5sums...
    freeswitch-1.0.6.tar.gz ... Passed
    freeswitch ... Passed
==> Extracting sources...
  -> Extracting freeswitch-1.0.6.tar.gz with bsdtar
==> Starting build()...
mv: cannot stat  «scripts/contrib/dschreiber/mod_nibblebill»: No such file or directory
    Aborting...
error: Build failed

I'm too bad making AUR packages, so any kind of help is welcome.

I have an X100P card and want to make a PBX at home with some cheap VoIP phones I can get and an ethernet installation done by myself and help from a friend.

Regards.

Last edited by timofonic (2010-06-27 21:26:19)

Offline

Board footer

Powered by FluxBB