aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius-client
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-07-19 14:31:07 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-07-19 14:31:07 +0000
commit63c45980539768e8e068112a75a9114f0b0bf0f8 (patch)
tree533e377ae81c35d79cba040875514d896169ee23 /main/freeradius-client
parent2ffba1d630320c6b9ae863bc1310a71ebd214017 (diff)
downloadaports-63c45980539768e8e068112a75a9114f0b0bf0f8.tar.bz2
aports-63c45980539768e8e068112a75a9114f0b0bf0f8.tar.xz
testing/freeradius-client: move to main
Partially fix #690
Diffstat (limited to 'main/freeradius-client')
-rw-r--r--main/freeradius-client/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/freeradius-client/APKBUILD b/main/freeradius-client/APKBUILD
new file mode 100644
index 0000000000..01ff2e25aa
--- /dev/null
+++ b/main/freeradius-client/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Francesco Colsita <francesco.colista@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=freeradius-client
+pkgver=1.1.6
+pkgrel=1
+pkgdesc="FreeRADIUS Client Software"
+url="http://wiki.freeradius.org/Radiusclient"
+arch="all"
+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 || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
+}
+
+md5sums="2e46564e450ae13aedb70dc133b158ac freeradius-client-1.1.6.tar.bz2"