summaryrefslogtreecommitdiff
path: root/social/sipwitch/PKGBUILD
blob: 98191c8d5d62fc5377eee0591cb17dc5c0c3379b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Dan Serban
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: David Zaragoza <david@zaragoza.com.ve>

pkgname=sipwitch
pkgver=1.1.2
pkgrel=1
pkgdesc="A call and registration server for the SIP protocol"
arch=(i686 x86_64)
url=http://www.gnutelephony.org/index.php/GNU_SIP_Witch
license=(GPL)
depends=(libexosip2 ucommon)
makedepends=(pkg-config)
options=('!libtool')
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")

build()
{
  cd "${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package()
{
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  mkdir -p "${pkgdir}"/etc/rc.d
  touch "${pkgdir}"/etc/rc.d/"${pkgname}"
}
md5sums=('08a235ddc0f75238c3670e857a30ae0b')