rules.mak 538 Bytes
Newer Older
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
1
2
# freetype2

3
FREETYPE2_VERSION := 2.4.9
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
4
5
FREETYPE2_URL := $(SF)/freetype/freetype-$(FREETYPE2_VERSION).tar.gz

6
7
8
9
PKGS += freetype2
ifeq ($(call need_pkg,"freetype2"),)
PKGS_FOUND += freetype2
endif
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
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)
18
	$(MOVE)
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
19
20

.freetype2: freetype
21
	cd $< && GNUMAKE=$(MAKE) $(HOSTVARS) ./configure $(HOSTCONF)
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
22
23
	cd $< && $(MAKE) install
	touch $@