]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pkgs/toolchain/ncurses/ncurses.nm
naoki: Initial checkin.
[people/amarx/ipfire-3.x.git] / pkgs / toolchain / ncurses / ncurses.nm
1
2 include ../../core/ncurses/ncurses.nm
3
4 $(STAGE_BUILD): $(STAGE_PREPARE)
5 @$(PRE_BUILD)
6
7 cd $(DIR_APP) && \
8 ./configure \
9 $(CONFIGURE_ARCH) \
10 --prefix=$(TOOLS_DIR) \
11 --with-shared \
12 --without-debug \
13 --without-ada \
14 --enable-overwrite \
15 --enable-widec \
16 --without-cxx-binding \
17 --enable-symlinks \
18 --disable-root-environ \
19 --disable-static
20
21 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
22
23 @$(POST_BUILD)
24
25
26 $(STAGE_INSTALL): $(STAGE_BUILD)
27 @$(PRE_INSTALL)
28
29 cd $(DIR_APP) && make install
30 for lib in curses ncurses form panel menu; do \
31 rm -vf $(TOOLS_DIR)/lib/lib$${lib}.so ; \
32 echo "INPUT(-l$${lib}w)" >$(TOOLS_DIR)/lib/lib$${lib}.so ; \
33 done
34
35 @$(POST_INSTALL)