smlinux/base/libnfs/libnfs.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

34 lines
677 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libnfs
version=4.0.0
build=1sml
homepage="https://github.com/sahlberg/libnfs"
desc="Client library for accessing NFS shares"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING LICENCE* $pkgdocs/
mkfinalpkg
}
sha512sums="
3b93b2d9ab64f899cc25be795a077da12f36188f3170789c5903b5fd986b6641a1dc325ce3678047dbdaf6b7209b5711c7c746000b4a90274413163bf65ea147 libnfs-4.0.0.tar.lz
"