updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / chan-sccp-b / PKGBUILD
blobd84d9549dba6b9631e51d7e0d1ed3fc83bfeb3c9
1 # Maintainer: Rob Dailey <rob at virtualaddiction dot net>
2 pkgname=chan-sccp-b
3 _pkgname=Chan_SCCP
4 pkgver=3.0rc3
5 _pkgver=3.0_RC3
6 pkgrel=1
7 pkgdesc="Skinny Control Client Protocol (SCCP) channel driver for Asterisk"
8 arch=('i686')
9 url="http://sourceforge.net/projects/chan-sccp-b/"
10 license=('GPL')
11 depends=(libtool)
12 makedepends=()
13 source=(http://downloads.sourceforge.net/project/${pkgname}/V3/${_pkgname}-${_pkgver}.tar.gz)
14 md5sums=('c7f7bab1d6fdc8d97304432a250c4d2e')
16 build() {
17   cd "$srcdir/${_pkgname}-${_pkgver}"
18   ./configure --prefix=/usr
19   make
22 package() {
23   cd "$srcdir/${_pkgname}-${_pkgver}"
24   make DESTDIR="$pkgdir/" install
25   mkdir -p "$pkgdir/etc/asterisk"
26   cp conf/sccp.conf "$pkgdir/etc/asterisk/sccp.conf.default"
27   cp conf/sccp_simple.conf "$pkgdir/etc/asterisk/sccp_simple.conf.default"
28   cp conf/sccp_short.conf "$pkgdir/etc/asterisk/sccp_short.conf.default"
31 # vim:set ts=2 sw=2 et: