summaryrefslogtreecommitdiffstats
path: root/testing/freeradius-client/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-12 11:38:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-12 11:38:07 +0000
commit0f963480c2d36bbdf12058003d7f70cc187a6133 (patch)
treeb61d704879452a5654262ef7b6ceb67c045639b3 /testing/freeradius-client/APKBUILD
parentb347b3ec0d1cdb6ceb705f8247ec659961d52eb3 (diff)
downloadaports-0f963480c2d36bbdf12058003d7f70cc187a6133.tar.bz2
aports-0f963480c2d36bbdf12058003d7f70cc187a6133.tar.xz
testing/radius-client: new aport
FreeRADIUS Client Software http://wiki.freeradius.org/Radiusclient
Diffstat (limited to 'testing/freeradius-client/APKBUILD')
-rw-r--r--testing/freeradius-client/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/freeradius-client/APKBUILD b/testing/freeradius-client/APKBUILD
new file mode 100644
index 000000000..12e182739
--- /dev/null
+++ b/testing/freeradius-client/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Francesco Colsita <francesco.colista@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=freeradius-client
+pkgver=1.1.6
+pkgrel=0
+pkgdesc="FreeRADIUS Client Software"
+url="http://wiki.freeradius.org/Radiusclient"
+license="BSD"
+depends=
+makedepends="openssl-dev"
+install=
+subpackages="$pkgname-dev"
+source="ftp://ftp.freeradius.org/pub/radius/$pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="2e46564e450ae13aedb70dc133b158ac freeradius-client-1.1.6.tar.bz2"