You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
781 B
25 lines
781 B
# freetype
|
|
|
|
PKG := freetype
|
|
$(PKG)_VERSION := 2.3.9
|
|
$(PKG)_CHECKSUM := db08969cb5053879ff9e973fe6dd2c52c7ea2d4e
|
|
$(PKG)_SUBDIR := freetype-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := freetype-$($(PKG)_VERSION).tar.bz2
|
|
$(PKG)_WEBSITE := http://freetype.sourceforge.net/
|
|
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/freetype/$($(PKG)_FILE)
|
|
$(PKG)_DEPS := gcc zlib
|
|
|
|
define $(PKG)_UPDATE
|
|
$(call SOURCEFORGE_FILES,http://sourceforge.net/projects/freetype/files/freetype2/) | \
|
|
$(SED) -n 's,.*freetype-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
tail -1
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(1)' && GNUMAKE=$(MAKE) ./configure \
|
|
--host='$(TARGET)' \
|
|
--disable-shared \
|
|
--prefix='$(PREFIX)/$(TARGET)'
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
endef
|