summaryrefslogtreecommitdiff
path: root/core/isdn4k-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/isdn4k-utils/PKGBUILD')
-rw-r--r--core/isdn4k-utils/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/core/isdn4k-utils/PKGBUILD b/core/isdn4k-utils/PKGBUILD
new file mode 100644
index 000000000..a51dacfcf
--- /dev/null
+++ b/core/isdn4k-utils/PKGBUILD
@@ -0,0 +1,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')