Mercurial > mxe-octave
annotate src/readline.mk @ 1588:9f84b0698dcd
update package readline
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 18 Feb 2011 13:28:51 +0100 |
parents | bf4bcb3370fa |
children | f653602a0500 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
629
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
332
diff
changeset
|
3 |
330 | 4 # Readline |
5 PKG := readline | |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
6 $(PKG)_IGNORE := |
1588 | 7 $(PKG)_VERSION := 6.2 |
8 $(PKG)_CHECKSUM := a9761cd9c3da485eb354175fcc2fe35856bc43ac | |
330 | 9 $(PKG)_SUBDIR := readline-$($(PKG)_VERSION) |
10 $(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://tiswww.case.edu/php/chet/readline/rltop.html | |
12 $(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc pdcurses | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \ | |
17 grep 'readline-' | \ | |
18 $(SED) -n 's,.*readline-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
23 $(SED) -i 's,^ *case SIGQUIT:.*,,' '$(1)/signals.c' |
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
24 $(SED) -i 's,^ *case SIGTSTP:.*,,' '$(1)/signals.c' |
330 | 25 cd '$(1)' && ./configure \ |
26 --host='$(TARGET)' \ | |
27 --disable-shared \ | |
28 --prefix='$(PREFIX)/$(TARGET)' \ | |
332
0eb8062e5797
enable multibyte characters in package readline
Volker Grabsch <vog@notjusthosting.com>
parents:
331
diff
changeset
|
29 --enable-multibyte \ |
330 | 30 --without-purify \ |
31 --with-curses \ | |
32 LIBS='-lpdcurses' | |
331
0d33bf4aa55f
bugfix in package readline: unset the correct variables to avoid building the shared libraries
Volker Grabsch <vog@notjusthosting.com>
parents:
330
diff
changeset
|
33 $(MAKE) -C '$(1)' -j '$(JOBS)' install SHARED_LIBS= |
330 | 34 endef |