Skip to content
Snippets Groups Projects
Commit b56d2630 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

contrib: add libsmb2

parent 5775166f
No related branches found
No related tags found
No related merge requests found
5e7101e54a4a95eae2ed5b05dfb51a33e9d4ce19275a405fbb1e86f9e9fe197de53b41c301ca992f19a03e5117ccc90d0acb174eb9c000c71674a0dbacf57614 libsmb2-2.0.0.tar.gz
# SMB2
SMB2_VERSION := 2.0.0
SMB2_URL := https://github.com/sahlberg/libsmb2/archive/v$(SMB2_VERSION).tar.gz
ifdef BUILD_NETWORK
ifndef HAVE_WIN32
PKGS += smb2
endif
endif
ifeq ($(call need_pkg,"smb2"),)
PKGS_FOUND += smb2
endif
$(TARBALLS)/libsmb2-$(SMB2_VERSION).tar.gz:
$(call download_pkg,$(SMB2_URL),smb2)
.sum-smb2: libsmb2-$(SMB2_VERSION).tar.gz
smb2: libsmb2-$(SMB2_VERSION).tar.gz .sum-smb2
$(UNPACK)
$(MOVE)
.smb2: smb2
cd $< && ./bootstrap
cd $< && $(HOSTVARS) ./configure --disable-examples --disable-werror --without-libkrb5 $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment