Commit 1ba383f6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contribs: disable freetype as needed

parent a647ae7f
......@@ -3,7 +3,7 @@
FREETYPE2_VERSION := 2.4.5
FREETYPE2_URL := $(SF)/freetype/freetype-$(FREETYPE2_VERSION).tar.gz
PKGS += freetype2
NEED_FREETYPE2 := $(call need_pkg,"freetype2")
$(TARBALLS)/freetype-$(FREETYPE2_VERSION).tar.gz:
$(call download,$(FREETYPE2_URL))
......@@ -15,7 +15,13 @@ freetype: freetype-$(FREETYPE2_VERSION).tar.gz .sum-freetype2
mv $@-$(FREETYPE2_VERSION) $@
touch $@
ifeq ($(NEED_FREETYPE2),)
.freetype2:
else
PKGS += freetype2
.freetype2: freetype
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
endif
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