1 # Contributor: Jonathan Liu <net147@hotmail.com>
4 _realpkgver=${pkgver/_/-}
6 pkgdesc="DAHDI tools for Asterisk"
8 url="http://www.asterisk.org/"
10 depends=('dahdi' 'libnewt' 'libusb' 'perl')
11 backup=('etc/dahdi/genconf_parameters' 'etc/dahdi/system.conf')
12 source=("http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/${pkgname}-${_realpkgver}.tar.gz"
14 md5sums=('64debed091e35f6013f0797fd07ce9df'
15 '926126dafe5dee8beeabdcb3a71efd0b')
18 cd "${srcdir}/${pkgname}-${_realpkgver}"
19 ./configure --prefix=/usr
24 cd "${srcdir}/${pkgname}-${_realpkgver}"
25 make DESTDIR="${pkgdir}" install
26 install -D -m755 "${srcdir}"/dahdi_cfg "${pkgdir}"/etc/rc.d/dahdi_cfg
27 install -D -m644 xpp/genconf_parameters "${pkgdir}"/etc/dahdi/genconf_parameters
30 # vim:set ts=2 sw=2 et: