updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / siproxd / PKGBUILD
blob3a301c3f8d31e2d5ab4d9a1f0363c462db5c0a3a
1 pkgname=siproxd
2 pkgver=0.8.1
3 pkgrel=1
4 pkgdesc="Siproxd is a proxy/masquerading daemon for the SIP protocol"
5 arch=('i686' 'x86_64')
6 url="http://siproxd.sourceforge.net/"
7 license=('GPL')
8 depends=('libosip2')
9 makedepends=('autoconf')
10 backup=('etc/siproxd.conf' 'etc/siproxd_passwd.cfg')
11 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('1a6f9d13aeb2d650375c9a346ac6cbaf')
14 build() {
15         cd "${srcdir}/${pkgname}-${pkgver}" || return 1
17         # arch has newer libtool
18         autoreconf -f -i || return 1
20         ./configure --prefix=/usr \
21                 --sysconfdir=/etc \
22                 --with-libosip-prefix=/usr/lib \
23                 --enable-shared \
24                 --disable-doc \
25                 --disable-static \
26         || return 1
27         make || return 1
30 package() {
31         cd "${srcdir}/${pkgname}-${pkgver}" || return 1
33         make DESTDIR="$pkgdir" install || return 1
35         # we don't need this
36         rm -rf "$pkgdir"'/usr/share'