vimium
This commit is contained in:
+8
-7
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
* ncurses — terminal handling library + terminfo database.
|
||||
*
|
||||
* Built wide-char (ncurses 6.x default) with --with-termlib so the
|
||||
* terminal-capability code is split into libtinfow. The narrow names
|
||||
* (libncurses, libtinfo, ...) are symlinked to the wide libs — the
|
||||
* standard distro arrangement — so consumers linking -lncurses/-ltinfo
|
||||
* resolve to the wide implementations (symbols are compatible).
|
||||
* Wide-char default (ncurses 6.x). Deliberately WITHOUT --with-termlib:
|
||||
* keeping the termcap functions (tgetent & co) inside libncursesw lets
|
||||
* consumers link just -lncurses (vim does exactly this). The narrow
|
||||
* names (libncurses, libtinfo, ...) are symlinked to the wide lib — the
|
||||
* standard distro arrangement — so -ltinfo consumers (readline) resolve
|
||||
* to the same archive (symbols are compatible).
|
||||
*/
|
||||
package "ncurses" {
|
||||
const version = "6.6"
|
||||
@@ -26,14 +27,14 @@ package "ncurses" {
|
||||
}
|
||||
|
||||
build {
|
||||
./configure --prefix=${prefix} --with-termlib
|
||||
./configure --prefix=${prefix}
|
||||
make -j${jobs}
|
||||
}
|
||||
|
||||
install {
|
||||
make DESTDIR=${destdir} install
|
||||
ln -sf libncursesw.a ${destdir}/usr/lib/libncurses.a
|
||||
ln -sf libtinfow.a ${destdir}/usr/lib/libtinfo.a
|
||||
ln -sf libncursesw.a ${destdir}/usr/lib/libtinfo.a
|
||||
ln -sf libpanelw.a ${destdir}/usr/lib/libpanel.a
|
||||
ln -sf libmenuw.a ${destdir}/usr/lib/libmenu.a
|
||||
ln -sf libformw.a ${destdir}/usr/lib/libform.a
|
||||
|
||||
Reference in New Issue
Block a user