annotate src/guile.mk @ 1766:d9a35d002ab1

ignore version 2.0.0 of package guile (i.e. wait for the issues to be fixed in the next version)
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 22 Apr 2011 21:16:04 +0200
parents 4e48476ea587
children 7e95e92292fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # GNU Guile
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := guile
1766
d9a35d002ab1 ignore version 2.0.0 of package guile (i.e. wait for the issues to be fixed in the next version)
Volker Grabsch <vog@notjusthosting.com>
parents: 1707
diff changeset
6 $(PKG)_IGNORE := 2.0.0
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 1.8.7
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 24cd2f06439c76d41d982a7384fe8a0fe5313b54
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
872
a29eb0aabd44 fixed typo
Volker Grabsch <vog@notjusthosting.com>
parents: 871
diff changeset
13 $(PKG)_DEPS := gcc libtool gmp libiconv gettext libunistring gc libffi readline
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a class="list subject"' | \
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
937
2d9d50ec94e2 don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents: 935
diff changeset
23 # The setting "scm_cv_struct_timespec=no" ensures that Guile
2d9d50ec94e2 don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents: 935
diff changeset
24 # won't try to use the "struct timespec" from <pthreads.h>,
2d9d50ec94e2 don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents: 935
diff changeset
25 # which would fail because we tell Guile not to use Pthreads.
1666
9c1cb932b77a package guile: wine confuses native build steps so set CC_FOR_BUILD and --build
Tony Theodore <tonyt@logyst.com>
parents: 937
diff changeset
26 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --host='$(TARGET)' \
1669
53a32735ec32 improved escaping
Volker Grabsch <vog@notjusthosting.com>
parents: 1666
diff changeset
28 --build="`sh ./config.guess`" \
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --prefix='$(PREFIX)/$(TARGET)' \
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --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
31 --without-threads \
937
2d9d50ec94e2 don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents: 935
diff changeset
32 scm_cv_struct_timespec=no \
1700
1749bf309c38 package guile: allow unused vars
Mark Brand <mabrand@mabrand.nl>
parents: 1669
diff changeset
33 LIBS='-lunistring -lintl -liconv' \
1749bf309c38 package guile: allow unused vars
Mark Brand <mabrand@mabrand.nl>
parents: 1669
diff changeset
34 CFLAGS='-Wno-unused-but-set-variable'
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
35 $(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
36 $(MAKE) -C '$(1)' -j 1 install schemelib_DATA=
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 '$(TARGET)-gcc' \
1707
4e48476ea587 fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents: 1700
diff changeset
39 -W -Wall -Werror -ansi -pedantic \
844
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-guile.exe' \
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 `'$(TARGET)-pkg-config' guile-1.8 --cflags --libs`
80738f6f27a0 new package: guile
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 endef