# Contributor: Carlo Landmeter # Maintainer: Natanael Copa setglobal pkgname = 'libnfs' setglobal pkgver = '2.0.0' setglobal pkgrel = '0' setglobal pkgdesc = '"client library for accessing NFS shares'" setglobal url = '"https://github.com/sahlberg/libnfs'" setglobal arch = '"all'" setglobal license = '"GPL'" setglobal depends_dev = ''"" setglobal makedepends = ""$depends_dev autoconf automake m4 libtool"" setglobal subpackages = ""$pkgname-dev $pkgname-doc"" setglobal source = ""https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz"" setglobal builddir = ""$srcdir"/libnfs-libnfs-$pkgver" proc build { cd $builddir ./bootstrap ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } proc package { cd $builddir make DESTDIR="$pkgdir" install } setglobal sha512sums = '"701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7 libnfs-2.0.0.tar.gz'"