Mercurial > mxe-octave
view src/guile.mk @ 993:be3969597cbd
update release notes
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 20 May 2010 22:31:36 +0200 |
parents | 2d9d50ec94e2 |
children | 9c1cb932b77a |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # GNU Guile PKG := guile $(PKG)_IGNORE := $(PKG)_VERSION := 1.8.7 $(PKG)_CHECKSUM := 24cd2f06439c76d41d982a7384fe8a0fe5313b54 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/ $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc libtool gmp libiconv gettext libunistring gc libffi readline define $(PKG)_UPDATE wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ grep '<a class="list subject"' | \ $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \ head -1 endef define $(PKG)_BUILD # The setting "scm_cv_struct_timespec=no" ensures that Guile # won't try to use the "struct timespec" from <pthreads.h>, # which would fail because we tell Guile not to use Pthreads. cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-shared \ --without-threads \ scm_cv_struct_timespec=no \ LIBS='-lunistring -lintl -liconv' $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA= $(MAKE) -C '$(1)' -j 1 install schemelib_DATA= '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-guile.exe' \ `'$(TARGET)-pkg-config' guile-1.8 --cflags --libs` endef