summaryrefslogtreecommitdiff
path: root/community/freeradius-client/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freeradius-client/PKGBUILD')
-rw-r--r--community/freeradius-client/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/freeradius-client/PKGBUILD b/community/freeradius-client/PKGBUILD
new file mode 100644
index 000000000..fb5feaa16
--- /dev/null
+++ b/community/freeradius-client/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 18123 2010-05-31 11:15:35Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Kalidarn
+
+pkgname=freeradius-client
+pkgver=1.1.6
+pkgrel=3
+pkgdesc="FreeRADIUS Client Software"
+arch=('i686' 'x86_64')
+url="http://wiki.freeradius.org/Radiusclient"
+license=('BSD')
+depends=('sh')
+options=(!libtool)
+source=(ftp://ftp.freeradius.org/pub/radius/$pkgname-$pkgver.tar.bz2)
+md5sums=('2e46564e450ae13aedb70dc133b158ac')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ install -D -m0644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/license || return 1
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+
+ mv $pkgdir/etc/radiusclient $startdir/pkg/etc/radiusclient.default
+}