updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / radiusclient / PKGBUILD
blob4edaefd331b5472e78b4b7d7ef3a1e618a1874fe
1 # Contributor: Alexander Drozdov <adrozdoff@gmail.com>
2 pkgname=radiusclient
3 # note: if the pkgver had been '0.99-10' then use an underscore. like '0.99_10'
4 pkgver=0.3.2
5 pkgrel=1
6 pkgdesc="RADIUS protocol client and library"
7 arch=(i686 x86_64)
8 url="ftp://ftp.cityline.net/pub/radiusclient"
9 license=('GPL')
10 depends=(glibc)
11 backup=(etc/radiusclient/radiusclient.conf etc/radiusclient/servers)
12 source=(ftp://ftp.cityline.net/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz radiusclient-config.sub-x86_64-fix.diff)
13 md5sums=(dd6a85f2f6fcb944cbf1dddd05ab132f 177561078901c57f265f13991fca34b9)
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   
18   patch -p0 < ../radiusclient-config.sub-x86_64-fix.diff
19   
20   ./configure --prefix=/usr --sysconfdir=/etc
21   make || return 1
23   make DESTDIR=$startdir/pkg install