Mercurial > mxe-octave
annotate src/guile.mk @ 935:9993be51f18d
disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 02 May 2010 17:58:37 +0200 |
parents | a29eb0aabd44 |
children | 2d9d50ec94e2 |
rev | line source |
---|---|
844 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # GNU Guile | |
5 PKG := guile | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 1.8.7 | |
8 $(PKG)_CHECKSUM := 24cd2f06439c76d41d982a7384fe8a0fe5313b54 | |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/ | |
12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | |
872 | 13 $(PKG)_DEPS := gcc libtool gmp libiconv gettext libunistring gc libffi readline |
844 | 14 |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ | |
17 grep '<a class="list subject"' | \ | |
18 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
24 --host='$(TARGET)' \ | |
25 --prefix='$(PREFIX)/$(TARGET)' \ | |
26 --disable-shared \ | |
935
9993be51f18d
disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
872
diff
changeset
|
27 --without-threads \ |
871
63980a8c8b5e
prepare the guile build rules to work with future versions of guile, too
Volker Grabsch <vog@notjusthosting.com>
parents:
866
diff
changeset
|
28 LIBS='-lunistring -lintl -liconv' |
864
f7b6430ab3be
don't generate guile-procedures.txt in package guile because this requires a native guile installation
Volker Grabsch <vog@notjusthosting.com>
parents:
860
diff
changeset
|
29 $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA= |
f7b6430ab3be
don't generate guile-procedures.txt in package guile because this requires a native guile installation
Volker Grabsch <vog@notjusthosting.com>
parents:
860
diff
changeset
|
30 $(MAKE) -C '$(1)' -j 1 install schemelib_DATA= |
844 | 31 |
32 '$(TARGET)-gcc' \ | |
33 -W -Wall -Werror -ansi -pedantic \ | |
34 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-guile.exe' \ | |
35 `'$(TARGET)-pkg-config' guile-1.8 --cflags --libs` | |
36 endef |