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.
mxe/src/ftgl.mk

30 lines
988 B

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