lib: media: Allow thumbnails to be cropped
[vlc.git] / contrib / src / microdns / rules.mak
blobe6a766d844936c73fdcbf837b05b5a813bc7c313
1 # libmicrodns
3 LIBMICRODNS_VERSION := 0.0.10
4 LIBMICRODNS_URL := https://github.com/videolabs/libmicrodns/releases/download/$(LIBMICRODNS_VERSION)/microdns-$(LIBMICRODNS_VERSION).tar.gz
6 ifndef HAVE_MACOSX
7 ifdef BUILD_NETWORK
8 PKGS += microdns
9 endif
10 endif
11 ifeq ($(call need_pkg,"microdns >= 0.0.1"),)
12 PKGS_FOUND += microdns
13 endif
15 $(TARBALLS)/microdns-$(LIBMICRODNS_VERSION).tar.gz:
16 $(call download_pkg,$(LIBMICRODNS_URL),microdns)
18 .sum-microdns: $(TARBALLS)/microdns-$(LIBMICRODNS_VERSION).tar.gz
20 microdns: microdns-$(LIBMICRODNS_VERSION).tar.gz .sum-microdns
21 $(UNPACK)
22 $(APPLY) $(SRC)/microdns/0001-build-fix-getifaddrs-detection.patch
23 $(APPLY) $(SRC)/microdns/0002-fix-dummy-mdns_list_interfaces.patch
24 $(MOVE)
26 .microdns: microdns
27 $(RECONF)
28 cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
29 cd $< && $(MAKE) install
30 touch $@