summaryrefslogtreecommitdiff
path: root/pcr/radiusclient-ng/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-04 00:21:12 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-04 00:21:12 -0300
commit3fcc9fad9a6411bc01dd2aa083a7cc8407155495 (patch)
tree1d2aca4225e0fe3a4d211b20454a60c98c959eeb /pcr/radiusclient-ng/PKGBUILD
parent27de30007e987b9c3911198da203a853dabc13d1 (diff)
parent011045738754104f603135f0e6cc5518cde0864d (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/radiusclient-ng/PKGBUILD')
-rw-r--r--pcr/radiusclient-ng/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/radiusclient-ng/PKGBUILD b/pcr/radiusclient-ng/PKGBUILD
new file mode 100644
index 000000000..437030401
--- /dev/null
+++ b/pcr/radiusclient-ng/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Jonathan Liu <net147@gmail.com>
+pkgname=radiusclient-ng
+pkgver=0.5.6
+pkgrel=1
+pkgdesc="Client library and basic utilities for RADIUS AAA"
+arch=(i686 x86_64)
+url="http://wiki.freeradius.org/Radiusclient"
+license=('custom:NetBSD')
+depends=('bash')
+conflicts=('freeradius-client')
+source=(http://download.berlios.de/radiusclient-ng/$pkgname-$pkgver.tar.gz)
+md5sums=('6fb7d4d0aefafaee7385831ac46a8e9c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ install -D -m644 "$srcdir/$pkgname-$pkgver/COPYRIGHT" \
+ "$pkgdir/usr/share/licenses/${pkgver}/COPYRIGHT"
+
+}
+
+# vim:set ts=2 sw=2 et: