Skip to content
Snippets Groups Projects
Commit 1c6c16be authored by Tristan Matthews's avatar Tristan Matthews
Browse files

contrib: add rules to build dht

Refs #60968

Change-Id: I37d609a51acdee1f40436fbd3842f4ec029a7d0a
parent 7c648a95
No related branches found
Tags android/release_218
No related merge requests found
# DHT
DHT_VERSION := adaf1e77d34d1edbf50f27c96a70839ff7f2da25
DHT_URL := https://github.com/aberaud/dht/archive/$(DHT_VERSION).tar.gz
PKGS += dht
ifeq ($(call need_pkg,'opendht'),)
PKGS_FOUND += dht
endif
DEPS_dht = gnutls
$(TARBALLS)/dht-$(DHT_VERSION).tar.gz:
$(call download,$(DHT_URL))
.sum-dht: dht-$(DHT_VERSION).tar.gz
$(warning $@ not implemented)
touch $@
dht: dht-$(DHT_VERSION).tar.gz .sum-dht
$(UNPACK)
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR)
$(MOVE)
.dht: dht
mkdir -p $</m4 && $(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment