aboutsummaryrefslogblamecommitdiffstats
path: root/main/freeradius-client/APKBUILD
blob: 3f0c0a61edc86852f640912141e808cae1778aae (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                              
            
        
                                    
                                          
          
             
                                                  
                          
                                                                                                                               
 

                                                           


                       
                       



                                 

                                         
                                           

                             



                       
                                      

 
                                                                                                                                                                                     
# Contributor: Francesco Colsita <francesco.colista@gmail.com>
# Maintainer:  Natanael Copa <ncopa@alpinelinux.org>
pkgname=freeradius-client
pkgver=1.1.7
pkgrel=4
pkgdesc="FreeRADIUS Client Software"
url="https://freeradius.org/sub_projects/"
arch="all"
license="BSD"
makedepends="nettle-dev automake autoconf libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver-release.tar.gz::https://github.com/FreeRADIUS/freeradius-client/archive/release_${pkgver//./_}.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
builddir="$srcdir"/freeradius-client-release_${pkgver//./_}

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

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

sha512sums="c4844f16954d119dfbe1683ca48f4ed5e612fd10f66b885f8338905137b508f609eafbf5ccff1bc04fd19581249bfbf30d179402db042868dfccee72a3105b95  freeradius-client-1.1.7-release.tar.gz"