annotate src/ncurses.mk @ 2553:1b3b2b00bdb9

fix in build of ncurses if wine was installed
author Luis Saavedra <luis94855510@gmail.com>
date Thu, 17 May 2012 16:45:06 -0400
parents 4d0f3a9da57e
children 47558e958113
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2469
51a4ed33302d various packages: fix references to mingw-cross-env and doc/index.html
Tony Theodore <tonyt@logyst.com>
parents: 2408
diff changeset
1 # This file is part of MXE.
51a4ed33302d various packages: fix references to mingw-cross-env and doc/index.html
Tony Theodore <tonyt@logyst.com>
parents: 2408
diff changeset
2 # See index.html for further information.
2405
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
3
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
4 # ncurses
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
5 PKG := ncurses
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 3e042e5f2c7223bffdaac9646a533b8c758b65b5
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := ncurses-$($(PKG)_VERSION)
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
9 $(PKG)_FILE := ncurses-$($(PKG)_VERSION).tar.gz
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE)
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
11 $(PKG)_DEPS := gcc
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
12
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2469
diff changeset
14 $(WGET) -q -O- 'http://ftp.gnu.org/pub/gnu/ncurses/?C=M;O=D' | \
2407
0a2707497afa package ncurses:fix update macro
Tony Theodore <tonyt@logyst.com>
parents: 2406
diff changeset
15 $(SED) -n 's,.*<a href="ncurses-\([0-9][^"]*\)\.tar.*,\1,p' | \
2405
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
16 head -1
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
17 endef
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
18
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
19 define $(PKG)_BUILD
2406
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
20 cd '$(1)' && ./configure \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
21 --host='$(TARGET)' \
2553
1b3b2b00bdb9 fix in build of ncurses if wine was installed
Luis Saavedra <luis94855510@gmail.com>
parents: 2525
diff changeset
22 --build="`config.guess`" \
2406
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
23 --prefix=$(PREFIX)/$(TARGET) \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
24 --disable-home-terminfo \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
25 --enable-sp-funcs \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
26 --enable-term-driver \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
27 --enable-interop \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
28 --without-debug \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
29 --without-ada \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
30 --without-manpages \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
31 --enable-pc-files \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
32 --with-normal \
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
33 --without-shared
3264ca2f154f package ncurses:fix whitespace
Tony Theodore <tonyt@logyst.com>
parents: 2405
diff changeset
34 $(MAKE) -C '$(1)' -j '$(JOBS)' install
2405
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
35 endef