Commit 3effe5ab authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: add libnfs support

parent af39d395
2a0e11dde5a2c4d25fcf1040d04ad984fe3b2e2ce5f544d602becb55aebdabbfe29a3b961d3db7d034c918862b540d3a03735bbbad0606ff3a128c50c2dad666 libnfs-1.9.8.tar.gz
# NFS
NFS_VERSION := 1.9.8
NFS_URL := https://github.com/sahlberg/libnfs/archive/libnfs-$(NFS_VERSION).tar.gz
ifndef HAVE_WIN32
PKGS += nfs
endif
ifeq ($(call need_pkg,"libnfs"),)
PKGS_FOUND += nfs
endif
$(TARBALLS)/libnfs-$(NFS_VERSION).tar.gz:
$(call download,$(NFS_URL))
.sum-nfs: libnfs-$(NFS_VERSION).tar.gz
nfs: libnfs-$(NFS_VERSION).tar.gz .sum-nfs
$(UNPACK)
mv libnfs-libnfs-$(NFS_VERSION) libnfs-$(NFS_VERSION)
$(MOVE)
.nfs: nfs
cd $< && ./bootstrap
cd $< && $(HOSTVARS) ./configure --disable-examples $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment