1 # Contributor: <archist@gmx.de>
2 pkgname=asterisk-addons
5 pkgdesc="Extra features, codecs, mobile and bluetooth support for Asterisk 1.6 (with codec optimizations & oslec support)"
7 url="http://www.asterisk.org/"
10 provides=("asterisk-addons=$pkgver")
11 conflicts=('asterisk-addons')
12 source=("http://downloads.digium.com/pub/asterisk/releases/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('95e33f22f53d58ac95c54d2c8b8d9d76')
15 cd "$srcdir/${pkgname}-${pkgver/_/-}"
16 ./configure --prefix=/usr --sysconfdir=/etc
17 install -dm744 "$pkgdir/var/lib/asterisk/documentation"
19 make DESTDIR="$pkgdir" ASTDATADIR="$pkgdir/var/lib/asterisk" install || return 1
20 make DESTDIR="$pkgdir" samples || return 1
22 (cd "$pkgdir"/etc/asterisk &&
23 ls | xargs -I '{}' mv '{}' '{}.default')