mxe/src/ftgl.mk

29 lines
955 B
Makefile
Raw Normal View History

2010-11-26 12:59:04 +00:00
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
# ftgl
PKG := ftgl
$(PKG)_IGNORE :=
2010-11-26 13:01:35 +00:00
$(PKG)_VERSION := 2.1.3-rc5
2010-11-26 12:59:04 +00:00
$(PKG)_CHECKSUM := 8508f26c84001d7bc949246affa03744fa1fd22e
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2010-11-26 13:01:35 +00:00
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
2010-11-26 12:59:04 +00:00
$(PKG)_WEBSITE := http://sourceforge.net/projects/ftgl/
2010-11-26 13:01:35 +00:00
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/ftgl/FTGL Source/$(subst -,~,$($(PKG)_VERSION))/$($(PKG)_FILE)
2010-11-26 12:59:04 +00:00
$(PKG)_DEPS := freetype
define $(PKG)_UPDATE
$(call SOURCEFORGE_FILES,http://sourceforge.net/projects/ftgl/files/FTGL%20Source/) | \
$(SED) -n 's,.*ftgl-\([0-9][^>]*\)\.tar.*,\1,p' | \
tail -1
endef
define $(PKG)_BUILD
cd '$(1)' && autoconf && ./configure \
--host='$(TARGET)' \
--disable-shared \
--disable-freetypetest \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef