]>
Commit | Line | Data |
---|---|---|
166a6c21 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
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. # | |
10 | # # | |
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. # | |
15 | # # | |
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/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
a7c97434 | 25 | include $(PKGROOT)/Include |
166a6c21 MT |
26 | |
27 | PKG_NAME = ncurses | |
70649cd5 | 28 | PKG_VER = 5.9 |
607f4600 | 29 | PKG_REL = 2 |
166a6c21 MT |
30 | |
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = System/Base |
166a6c21 MT |
33 | PKG_URL = http://invisible-island.net/ncurses/ncurses.html |
34 | PKG_LICENSE = MIT | |
35 | PKG_SUMMARY = Ncurses support utilities. | |
36 | ||
228407ef | 37 | PKG_BUILD_DEPS+= gcc-c++ |
48add3fd | 38 | |
166a6c21 MT |
39 | define PKG_DESCRIPTION |
40 | The curses library routines are a terminal-independent method of \ | |
41 | updating character screens with reasonable optimization. The ncurses \ | |
42 | (new curses) library is a freely distributable replacement for the \ | |
43 | discontinued 4.4 BSD classic curses library. | |
44 | endef | |
45 | ||
46 | PKG_TARBALL = $(THISAPP).tar.gz | |
47 | ||
60afce84 MT |
48 | CONFIGURE_OPTIONS += \ |
49 | --mandir=/usr/share/man \ | |
50 | --with-shared \ | |
51 | --without-debug \ | |
52 | --enable-widec \ | |
53 | --disable-static \ | |
54 | --enable-symlinks \ | |
55 | --disable-root-environ | |
166a6c21 | 56 | |
60afce84 | 57 | define STAGE_INSTALL_CMDS |
f6c2d517 | 58 | -mkdir -pv $(BUILDROOT)/lib |
166a6c21 MT |
59 | mv -v $(BUILDROOT)/usr/lib/libncursesw.so.5* $(BUILDROOT)/lib |
60 | ln -sfv ../../lib/libncursesw.so.5 $(BUILDROOT)/usr/lib/libncursesw.so | |
61 | for lib in curses ncurses form panel menu; do \ | |
62 | rm -vf $(BUILDROOT)/usr/lib/lib$${lib}.so ; \ | |
63 | echo "INPUT(-l$${lib}w)" >$(BUILDROOT)/usr/lib/lib$${lib}.so ; \ | |
64 | done | |
65 | ||
66 | rm -vf $(BUILDROOT)/usr/lib/libcursesw.so | |
67 | echo "INPUT(-lncursesw)" >$(BUILDROOT)/usr/lib/libcursesw.so | |
68 | ln -sfv libncurses.so $(BUILDROOT)/usr/lib/libcurses.so | |
17c0ee8a | 69 | endef |
607f4600 MT |
70 | |
71 | PKG_PACKAGES += $(PKG_NAME_REAL)-devel $(PKG_NAME_REAL)-libs | |
72 | ||
73 | ||
74 | # ncurses-term | |
75 | PKG_PACKAGES += $(PKG_NAME_REAL)-term | |
76 | ||
77 | PKG_SUMMARY-$(PKG_NAME)-term = Terminal descriptions for ncurses. | |
78 | ||
79 | define PKG_DESCRIPTION-$(PKG_NAME)-term | |
80 | This package contains additional terminal descriptions not found in | |
81 | the ncurses-base package. | |
82 | endef | |
83 | ||
84 | PKG_FILES-$(PKG_NAME)-term = /usr/share/terminfo | |
85 | ||
86 | ||
87 | # ncurses-base | |
88 | PKG_PACKAGES += $(PKG_NAME)-base | |
89 | ||
90 | # The -libs packages does depend on this. | |
91 | PKG_DEPS-$(PKG_NAME)-libs += $(PKG_NAME)-base | |
92 | ||
93 | PKG_SUMMARY-$(PKG_NAME)-base = Terminal descriptions. | |
94 | ||
95 | define PKG_DESCRIPTION-$(PKG_NAME)-base | |
96 | This package contains descriptions of common terminals. Other terminal | |
97 | descriptions are included in the ncurses-term package. | |
98 | endef | |
99 | ||
100 | define PKG_FILES-$(PKG_NAME)-base | |
101 | /usr/share/terminfo/*/Eterm* | |
102 | /usr/share/terminfo/*/aterm | |
103 | /usr/share/terminfo/*/bterm | |
104 | /usr/share/terminfo/*/cons25 | |
105 | /usr/share/terminfo/*/cygwin | |
106 | /usr/share/terminfo/*/eterm* | |
107 | /usr/share/terminfo/*/gnome | |
108 | /usr/share/terminfo/*/gnome-256color | |
109 | /usr/share/terminfo/*/hurd | |
110 | /usr/share/terminfo/*/jfbterm | |
111 | /usr/share/terminfo/*/konsole | |
112 | /usr/share/terminfo/*/konsole-256color | |
113 | /usr/share/terminfo/*/mach* | |
114 | /usr/share/terminfo/*/mlterm | |
115 | /usr/share/terminfo/*/mrxvt | |
116 | /usr/share/terminfo/*/nsterm | |
117 | /usr/share/terminfo/*/putty* | |
118 | /usr/share/terminfo/*/pcansi | |
119 | /usr/share/terminfo/*/rxvt | |
120 | /usr/share/terminfo/*/rxvt-* | |
121 | /usr/share/terminfo/*/screen | |
122 | /usr/share/terminfo/*/screen-*color | |
123 | /usr/share/terminfo/*/screen.* | |
124 | /usr/share/terminfo/*/sun | |
125 | /usr/share/terminfo/*/teraterm | |
126 | /usr/share/terminfo/*/teraterm2.3 | |
127 | /usr/share/terminfo/*/vte | |
128 | /usr/share/terminfo/*/vte-256color | |
129 | /usr/share/terminfo/*/vwmterm | |
130 | /usr/share/terminfo/*/wsvt25* | |
131 | /usr/share/terminfo/*/xfce | |
132 | /usr/share/terminfo/*/xterm xterm-* | |
133 | endef |