annotate src/ncurses.mk @ 2405:7f4703a75221

new package: ncurses
author Allen Choong <allencch@hotmail.com>
date Mon, 16 Apr 2012 02:37:45 +1000
parents
children 3264ca2f154f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2405
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
2 # See doc/index.html for further information.
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)_VERSION := 5.9
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 3e042e5f2c7223bffdaac9646a533b8c758b65b5
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := ncurses-$($(PKG)_VERSION)
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
10 $(PKG)_FILE := ncurses-$($(PKG)_VERSION).tar.gz
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.gnu.org/software/ncurses/
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
12 $(PKG)_URL := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE)
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
14
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
16 wget -q -O- 'http://www.gnu.org/software/ncurses/' | \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
18 head -1
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
19 endef
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
20
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
21 define $(PKG)_BUILD
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
23 --host='$(TARGET)' \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
24 --prefix=$(PREFIX)/$(TARGET) \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
25 --disable-home-terminfo \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
26 --enable-sp-funcs \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
27 --enable-term-driver \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
28 --enable-interop \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
29 --without-debug \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
30 --without-ada \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
31 --without-manpages \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
32 --enable-pc-files \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
33 --with-normal \
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
34 --without-shared
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
35 $(MAKE) -C '$(1)' -j '$(JOBS)' install
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
36 endef
7f4703a75221 new package: ncurses
Allen Choong <allencch@hotmail.com>
parents:
diff changeset
37