summaryrefslogtreecommitdiff
path: root/core/isdn4k-utils/PKGBUILD
blob: a51dacfcf631fa4d7ee9800209617c4445a3062b (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
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 162997 2012-07-05 06:49:53Z tpowa $
# Contributor: Dennis "Gyroplast" Herbrich <dennis@archlinux.org>,  dorphell <dorphell@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=isdn4k-utils
pkgver=3.25_20120630
pkgrel=1
pkgdesc="User space administration programs and tools for ISDN"
arch=('i686' 'x86_64')
url="http://www.isdn4linux.de/"
license=('GPL')
depends=('ncurses' 'sh') 
backup=(etc/isdn/{callerid.conf,isdn.conf,rate.conf,isdnlog.isdnctrl0.options})
options=('!makeflags' '!libtool')
source=(ftp://ftp.archlinux.org/other/isdn4k-utils/${pkgname}-${pkgver}.tar.gz
        config)
replaces=('capi4k-utils')

build() {
  cd $srcdir/$pkgname-$pkgver
  cp $srcdir/config ./.config
  cd capifax
  aclocal 
  automake --add-missing
  autoreconf
  cd $srcdir/$pkgname-$pkgver
  make subconfig
  cd $srcdir/$pkgname-$pkgver
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -dm755 $pkgdir/usr/sbin
  make DESTDIR=$pkgdir install
  chmod 755 $pkgdir/usr/sbin/*
}
md5sums=('02167f8bd8629f8ef7c12ece3b8722ac'
         'be387b5e03b744452dea7571600f83aa')