summaryrefslogtreecommitdiff
path: root/pcr/radiusclient-ng/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-07-03 10:37:59 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-07-03 10:37:59 -0300
commitffad7bbd8166a424a44c9ae1ab9258df01b02af1 (patch)
treed82e55b05c4d796f943988b0149f36c6f10670d1 /pcr/radiusclient-ng/PKGBUILD
parent849dffc80155f94d974e0f033cc8947852aefec3 (diff)
downloadabslibre-ffad7bbd8166a424a44c9ae1ab9258df01b02af1.tar.gz
abslibre-ffad7bbd8166a424a44c9ae1ab9258df01b02af1.tar.bz2
abslibre-ffad7bbd8166a424a44c9ae1ab9258df01b02af1.zip
Kamailio SIP server
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: