diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-03-07 20:50:40 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2012-03-07 20:50:40 (GMT) |
commit | cc7ac84e6c3c8129b2de082083762cb8f393f46c (patch) | |
tree | 6dbddd6b28625e4c37e360ec680061b43437bd47 /src/gta.mk | |
parent | 61e7272cb75593b4dd160d93dd32264490ff6242 (diff) | |
download | mxe-cc7ac84e6c3c8129b2de082083762cb8f393f46c.zip mxe-cc7ac84e6c3c8129b2de082083762cb8f393f46c.tar.gz mxe-cc7ac84e6c3c8129b2de082083762cb8f393f46c.tar.bz2 |
rename project libgta to gta
---
src/gdal.mk | 2 +-
src/gta-test.c | 20 ++++++++++++++++++++
src/gta.mk | 36 ++++++++++++++++++++++++++++++++++++
src/libgta-test.c | 20 --------------------
src/libgta.mk | 36 ------------------------------------
5 files changed, 57 insertions(+), 57 deletions(-)
create mode 100644 src/gta-test.c
create mode 100644 src/gta.mk
delete mode 100644 src/libgta-test.c
delete mode 100644 src/libgta.mk
Diffstat (limited to 'src/gta.mk')
-rw-r--r-- | src/gta.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/gta.mk b/src/gta.mk new file mode 100644 index 0000000..2502e2d --- /dev/null +++ b/src/gta.mk @@ -0,0 +1,36 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# gta +PKG := gta +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.0.2 +$(PKG)_CHECKSUM := 9020944bcd40bd986a879d454d21920a1eb48db7 +$(PKG)_SUBDIR := libgta-$($(PKG)_VERSION) +$(PKG)_FILE := libgta-$($(PKG)_VERSION).tar.xz +$(PKG)_WEBSITE := http://gta.nongnu.org/ +$(PKG)_URL := http://download.savannah.gnu.org/releases/gta/$($(PKG)_FILE) +$(PKG)_DEPS := gcc zlib bzip2 xz + +define $(PKG)_UPDATE + wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gta.git;a=tags' | \ + grep '<a class="list subject"' | \ + $(SED) -n 's,.*<a[^>]*>libgta-\([0-9.]*\)<.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --build="`config.guess`" \ + --disable-shared \ + --disable-reference \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install dist_doc_DATA= + + '$(TARGET)-gcc' \ + -W -Wall -Werror -ansi -pedantic \ + '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gta.exe' \ + `'$(TARGET)-pkg-config' gta --cflags --libs` +endef |