diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-16 00:35:40 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-16 00:35:40 (GMT) |
commit | 31cc6ec584af62a9eeaa942b1388f913bb4966aa (patch) | |
tree | 1806fd3c1181b32ea097cc42e621ded249e49ef3 /src/sdl_pango.mk | |
parent | c6608266b9f6fa36f769d170262388dffaf0d1f2 (diff) | |
download | mxe-31cc6ec584af62a9eeaa942b1388f913bb4966aa.zip mxe-31cc6ec584af62a9eeaa942b1388f913bb4966aa.tar.gz mxe-31cc6ec584af62a9eeaa942b1388f913bb4966aa.tar.bz2 |
new package: sdl_pango
Diffstat (limited to 'src/sdl_pango.mk')
-rw-r--r-- | src/sdl_pango.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/sdl_pango.mk b/src/sdl_pango.mk new file mode 100644 index 0000000..42dca91 --- /dev/null +++ b/src/sdl_pango.mk @@ -0,0 +1,30 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# SDL_Pango +PKG := sdl_pango +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.1.2 +$(PKG)_CHECKSUM := c30f2941d476d9362850a150d29cb4a93730af68 +$(PKG)_SUBDIR := SDL_Pango-$($(PKG)_VERSION) +$(PKG)_FILE := SDL_Pango-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://sdlpango.sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/sdlpango/SDL_Pango/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sdl pango + +define $(PKG)_UPDATE + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/sdlpango/files/SDL_Pango/) | \ + $(SED) -n 's,.*SDL_Pango-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ + --disable-sdltest \ + PKG_CONFIG='$(TARGET)-pkg-config' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |