diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-10 08:36:51 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-10 08:36:51 (GMT) |
commit | 09be0b6d4187a7f5484142ed0612310d9dc0d83f (patch) | |
tree | 3ca017408ca591f0276395be275bf972f16d5d9d /src/sdl_ttf.mk | |
parent | 4956121a44ce157002fe52849b5d5cfec82ee3de (diff) | |
download | mxe-09be0b6d4187a7f5484142ed0612310d9dc0d83f.zip mxe-09be0b6d4187a7f5484142ed0612310d9dc0d83f.tar.gz mxe-09be0b6d4187a7f5484142ed0612310d9dc0d83f.tar.bz2 |
new package: sdl_ttf (by Andreas Roever)
Diffstat (limited to 'src/sdl_ttf.mk')
-rw-r--r-- | src/sdl_ttf.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/sdl_ttf.mk b/src/sdl_ttf.mk new file mode 100644 index 0000000..8a0cd5a --- /dev/null +++ b/src/sdl_ttf.mk @@ -0,0 +1,26 @@ +# SDL_ttf +# http://libsdl.org/projects/SDL_ttf/ + +PKG := sdl_ttf +$(PKG)_VERSION := 2.0.9 +$(PKG)_SUBDIR := SDL_ttf-$($(PKG)_VERSION) +$(PKG)_FILE := SDL_ttf-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://libsdl.org/projects/SDL_ttf/release/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sdl freetype + +define $(PKG)_UPDATE + wget -q -O- 'http://libsdl.org/projects/SDL_ttf/' | \ + $(SED) -n 's,.*SDL_ttf-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ + --disable-sdltest \ + --with-freetype-prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |