diff options
author | Stefan Löffler <st.loeffler@gmail.com> | 2010-11-26 12:59:04 (GMT) |
---|---|---|
committer | Stefan Löffler <st.loeffler@gmail.com> | 2010-11-26 12:59:04 (GMT) |
commit | 930a06324d89ff856d6bbd29d044f686e5cabaa0 (patch) | |
tree | 6558eee238840b3f3cc2852aeaacda3d84a35c51 /src/ftgl.mk | |
parent | cacf29b3206333fa8e932ff9a9a7d4d2998527b8 (diff) | |
download | mxe-930a06324d89ff856d6bbd29d044f686e5cabaa0.zip mxe-930a06324d89ff856d6bbd29d044f686e5cabaa0.tar.gz mxe-930a06324d89ff856d6bbd29d044f686e5cabaa0.tar.bz2 |
new package: ftgl
Diffstat (limited to 'src/ftgl.mk')
-rw-r--r-- | src/ftgl.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ftgl.mk b/src/ftgl.mk new file mode 100644 index 0000000..9622d8e --- /dev/null +++ b/src/ftgl.mk @@ -0,0 +1,28 @@ +# 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 +$(PKG)_CHECKSUM := 8508f26c84001d7bc949246affa03744fa1fd22e +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$(subst ~,-,$($(PKG)_VERSION)).tar.bz2 +$(PKG)_WEBSITE := http://sourceforge.net/projects/ftgl/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/ftgl/FTGL Source/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(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 |