LICENSE   = BSD3
DOWNLOADS = getdns.archive
VERSION  = 1.4.0

URL(getdns) := https://getdnsapi.net/releases/getdns-1-4-0/getdns-1.4.0.tar.gz
SHA(getdns) := de360cd554fdec4bae3f5afbb36145872b8ff7306ded5deb0905442c4909f7b3
DIR(getdns) := src/lib/getdns

DIRS := include/getdns
DIR_CONTENT(include/getdns) = src/lib/getdns/src/getdns/getdns_extra.h

default: include/getdns/getdns.h

include/getdns/getdns.h: src/lib/getdns/src/getdns/getdns.h.in
	@$(MSG_GENERATE)$(notdir $@)
	$(VERBOSE)mkdir -p $(dir $@)
	$(VERBOSE)cp $< $@

src/lib/getdns/src/getdns/getdns.h.in: $(DOWNLOADS)
