rules.mak 584 Bytes
Newer Older
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
1
2
3
4
5
# freetype2

FREETYPE2_VERSION := 2.4.5
FREETYPE2_URL := $(SF)/freetype/freetype-$(FREETYPE2_VERSION).tar.gz

6
NEED_FREETYPE2 := $(call need_pkg,"freetype2")
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
7
8
9
10
11
12
13
14
15
16
17

$(TARBALLS)/freetype-$(FREETYPE2_VERSION).tar.gz:
	$(call download,$(FREETYPE2_URL))

.sum-freetype2: freetype-$(FREETYPE2_VERSION).tar.gz

freetype: freetype-$(FREETYPE2_VERSION).tar.gz .sum-freetype2
	$(UNPACK)
	mv $@-$(FREETYPE2_VERSION) $@
	touch $@

18
19
20
21
22
ifeq ($(NEED_FREETYPE2),)
.freetype2:
else
PKGS += freetype2

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
23
24
25
.freetype2: freetype
	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
	cd $< && $(MAKE) install
26
endif
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
27
	touch $@