aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius-client/APKBUILD
blob: f02efcd23526e644a9f7f1bd1d49bc8db10f1fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Francesco Colsita <francesco.colista@gmail.com>
# Maintainer:  Natanael Copa <ncopa@alpinelinux.org>
pkgname=freeradius-client
pkgver=1.1.7
pkgrel=0
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/freeradius-client-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="43b4d21715b613dc4fe8ef128467fe78  freeradius-client-1.1.7.tar.gz"
sha256sums="eada2861b8f4928e3ac6b5bbfe11e92cd6cdcacfce40cae1085e77c1b6add0e9  freeradius-client-1.1.7.tar.gz"
sha512sums="20e79ec97da79f46b334e1c2880803a692885a4038196a4d016094d349f675e2d0521d921140c5ab06703008619417f7a20d3e90cdfc7b3578faccbd232be0ce  freeradius-client-1.1.7.tar.gz"