1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
32 PKG_GROUP = System/Base
33 PKG_URL = http://invisible-island.net/ncurses/ncurses.html
35 PKG_SUMMARY = Ncurses support utilities.
37 define PKG_DESCRIPTION
38 The curses library routines are a terminal-independent method of \
39 updating character screens with reasonable optimization. The ncurses \
40 (new curses) library is a freely distributable replacement for the \
41 discontinued 4.4 BSD classic curses library.
44 PKG_TARBALL = $(THISAPP).tar.gz
48 ###############################################################################
49 # Installation Details
50 ###############################################################################
52 $(STAGE_BUILD): $(STAGE_PREPARE)
64 --disable-root-environ
66 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
70 $(STAGE_INSTALL): $(STAGE_BUILD)
73 cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
75 mv -v $(BUILDROOT)/usr/lib/libncursesw.so.5* $(BUILDROOT)/lib
76 ln -sfv ../../lib/libncursesw.so.5 $(BUILDROOT)/usr/lib/libncursesw.so
77 for lib in curses ncurses form panel menu; do \
78 rm -vf $(BUILDROOT)/usr/lib/lib$${lib}.so ; \
79 echo "INPUT(-l$${lib}w)" >$(BUILDROOT)/usr/lib/lib$${lib}.so ; \
82 rm -vf $(BUILDROOT)/usr/lib/libcursesw.so
83 echo "INPUT(-lncursesw)" >$(BUILDROOT)/usr/lib/libcursesw.so
84 ln -sfv libncurses.so $(BUILDROOT)/usr/lib/libcurses.so