]>
Commit | Line | Data |
---|---|---|
166a6c21 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
166a6c21 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = ncurses |
7 | version = 5.9 | |
e5ec988f | 8 | release = 3 |
166a6c21 | 9 | |
802ea3af MT |
10 | groups = System/Base |
11 | url = http://invisible-island.net/ncurses/ncurses.html | |
12 | license = MIT | |
13 | summary = Ncurses support utilities. | |
166a6c21 | 14 | |
802ea3af MT |
15 | description |
16 | The curses library routines are a terminal-independent method of | |
17 | updating character screens with reasonable optimization. The ncurses | |
18 | (new curses) library is a freely distributable replacement for the | |
166a6c21 | 19 | discontinued 4.4 BSD classic curses library. |
802ea3af MT |
20 | end |
21 | ||
22 | source_dl = | |
23 | ||
24 | build | |
25 | requires | |
26 | gcc-c++ | |
27 | end | |
28 | ||
29 | configure_options += \ | |
30 | --mandir=/usr/share/man \ | |
31 | --with-shared \ | |
32 | --without-debug \ | |
33 | --enable-widec \ | |
34 | --disable-static \ | |
35 | --enable-symlinks \ | |
36 | --disable-root-environ | |
37 | ||
38 | install_cmds | |
39 | mkdir -pv %{BUILDROOT}/lib | |
40 | mv -v %{BUILDROOT}/usr/lib/libncursesw.so.5* %{BUILDROOT}/lib | |
41 | ln -sfv ../../lib/libncursesw.so.5 %{BUILDROOT}/usr/lib/libncursesw.so | |
42 | for lib in curses ncurses form panel menu; do | |
43 | rm -vf %{BUILDROOT}/usr/lib/lib${lib}.so | |
44 | echo "INPUT(-l${lib}w)" >%{BUILDROOT}/usr/lib/lib${lib}.so | |
45 | done | |
46 | ||
47 | rm -vf %{BUILDROOT}/usr/lib/libcursesw.so | |
48 | echo "INPUT(-lncursesw)" >%{BUILDROOT}/usr/lib/libcursesw.so | |
49 | ln -sfv libncurses.so %{BUILDROOT}/usr/lib/libcurses.so | |
50 | end | |
51 | end | |
52 | ||
53 | packages | |
54 | package %{name} | |
55 | ||
56 | package %{name}-libs | |
57 | template LIBS | |
58 | ||
59 | requires | |
60 | %{name}-base | |
61 | end | |
62 | end | |
63 | ||
64 | package %{name}-devel | |
65 | template DEVEL | |
66 | end | |
67 | ||
68 | package %{name}-term | |
69 | summary = Terminal descriptions for ncurses. | |
70 | description | |
71 | This package contains additional terminal descriptions not found in | |
72 | the ncurses-base package. | |
73 | end | |
74 | ||
e5ec988f MT |
75 | provides += /usr/share/terminfo |
76 | ||
802ea3af MT |
77 | files |
78 | /usr/share/terminfo | |
79 | end | |
80 | end | |
81 | ||
82 | package %{name}-base | |
83 | summary = Terminal descriptions. | |
84 | description | |
85 | This package contains descriptions of common terminals. Other terminal | |
86 | descriptions are included in the ncurses-term package. | |
87 | end | |
88 | ||
e5ec988f MT |
89 | conflicts = ncurses<=5.9-1 |
90 | ||
802ea3af MT |
91 | files |
92 | /usr/share/terminfo/*/Eterm* | |
93 | /usr/share/terminfo/*/aterm | |
94 | /usr/share/terminfo/*/bterm | |
95 | /usr/share/terminfo/*/cons25 | |
96 | /usr/share/terminfo/*/cygwin | |
97 | /usr/share/terminfo/*/eterm* | |
98 | /usr/share/terminfo/*/gnome | |
99 | /usr/share/terminfo/*/gnome-256color | |
100 | /usr/share/terminfo/*/hurd | |
101 | /usr/share/terminfo/*/jfbterm | |
102 | /usr/share/terminfo/*/konsole | |
103 | /usr/share/terminfo/*/konsole-256color | |
104 | /usr/share/terminfo/*/mach* | |
105 | /usr/share/terminfo/*/mlterm | |
106 | /usr/share/terminfo/*/mrxvt | |
107 | /usr/share/terminfo/*/nsterm | |
108 | /usr/share/terminfo/*/putty* | |
109 | /usr/share/terminfo/*/pcansi | |
110 | /usr/share/terminfo/*/rxvt | |
111 | /usr/share/terminfo/*/rxvt-* | |
112 | /usr/share/terminfo/*/screen | |
113 | /usr/share/terminfo/*/screen-*color | |
114 | /usr/share/terminfo/*/screen.* | |
115 | /usr/share/terminfo/*/sun | |
116 | /usr/share/terminfo/*/teraterm | |
117 | /usr/share/terminfo/*/teraterm2.3 | |
118 | /usr/share/terminfo/*/vte | |
119 | /usr/share/terminfo/*/vte-256color | |
120 | /usr/share/terminfo/*/vwmterm | |
121 | /usr/share/terminfo/*/wsvt25* | |
122 | /usr/share/terminfo/*/xfce | |
123 | /usr/share/terminfo/*/xterm xterm-* | |
124 | end | |
125 | end | |
126 | end |