Mercurial > mxe-octave
annotate src/readline.mk @ 2365:b5321bdec505
Move full package names from src/*.mk into package list (index.html)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 21:41:44 +0200 |
parents | 99516e73b368 |
children | 4d0f3a9da57e |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1588
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See 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 PKG := readline |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
5 $(PKG)_IGNORE := |
1588 | 6 $(PKG)_CHECKSUM := a9761cd9c3da485eb354175fcc2fe35856bc43ac |
330 | 7 $(PKG)_SUBDIR := readline-$($(PKG)_VERSION) |
8 $(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc pdcurses | |
11 | |
12 define $(PKG)_UPDATE | |
13 wget -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \ | |
14 grep 'readline-' | \ | |
15 $(SED) -n 's,.*readline-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 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
|
20 $(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
|
21 $(SED) -i 's,^ *case SIGTSTP:.*,,' '$(1)/signals.c' |
330 | 22 cd '$(1)' && ./configure \ |
23 --host='$(TARGET)' \ | |
24 --disable-shared \ | |
25 --prefix='$(PREFIX)/$(TARGET)' \ | |
332
0eb8062e5797
enable multibyte characters in package readline
Volker Grabsch <vog@notjusthosting.com>
parents:
331
diff
changeset
|
26 --enable-multibyte \ |
330 | 27 --without-purify \ |
28 --with-curses \ | |
29 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
|
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install SHARED_LIBS= |
330 | 31 endef |