aboutsummaryrefslogblamecommitdiffstats
path: root/community/libnfs/APKBUILD
blob: d4f1fef07daefa0b0609a05ea34164c227c37714 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                   
              
            
        
                                                 

                                        
                                  
                           
                                          
                                                      

                                                                        
 
                                        
 
           
                       
                   


         






                                           

                                    


           

                                      

 




                                  



                                                                                                                                                     
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfs
pkgver=5.0.1
pkgrel=0
pkgdesc="Client library for accessing NFS shares"
url="https://github.com/sahlberg/libnfs"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1-or-later"
makedepends="autoconf automake m4 libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz
	fix-includes.patch"

builddir="$srcdir"/libnfs-libnfs-$pkgver

prepare() {
	default_prepare
	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/*.a
}

tools() {
	pkgdesc="$pkgdesc (tools)"
	amove usr/bin
}

sha512sums="
71f2dcfa8945c1cb6402f5fca10b1f7a4720f7589807d6130eb55361f05ef4684f9cc9a177ece4e13d3847ac6606924115fac7b27749cecc2f5aca6fa9c63ebf  libnfs-5.0.1.tar.gz
99fb4a2d782201d151aede2018cd543496f67ef9bedccb9e6705add0b76f5d6942d3fa9852a05f4ed9956a6a341aaa85efe5b98dde858434dcefb357e72ef4a3  fix-includes.patch
"