blob: cebcef728d66b075a39ba26f43c33d0cb407303b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Description: Client library for accessing NFS shares
# URL: https://github.com/sahlberg/libnfs
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on:
name=libnfs
version=6.0.2
release=1
source=(https://github.com/sahlberg/$name/archive/$name-$version.tar.gz)
build() {
mkdir -p build
cd build
cmake "$SRC/$name-$name-$version" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_UTILS=ON \
-DENABLE_MULTITHREADING=ON \
-Wno-dev
make
make DESTDIR="$PKG" install
rm -rf $PKG/usr/lib/*.la
}
|