diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-12-11 00:55:14 -0600 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-12-11 00:55:14 -0600 |
commit | 1a95ae591bbbaa1071c4eb16991d5064f3be696c (patch) | |
tree | 4c3dc660f8411c8b64ab0418329f60f7c41fdf6a /chapter8/ncurses.sh | |
parent | 2c8204d6325a1a6607392d5905227b9043da17cc (diff) | |
parent | 6132c19762b7d74ba7ad06e291b6401c632bbc28 (diff) |
Major changes
Diffstat (limited to 'chapter8/ncurses.sh')
-rw-r--r-- | chapter8/ncurses.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/chapter8/ncurses.sh b/chapter8/ncurses.sh index c2640c5..9d3ebbc 100644 --- a/chapter8/ncurses.sh +++ b/chapter8/ncurses.sh @@ -1,3 +1,4 @@ +<<<<<<< HEAD #!/bin/bash
set -e
@@ -30,3 +31,35 @@ rm -fv /usr/lib/libncurses++w.a && mkdir -v /usr/share/doc/ncurses-"${VERSION}" &&
cp -v -R doc/* /usr/share/doc/ncurses-"${VERSION}"
+======= +#!/bin/bash +set -e + +./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --with-shared \ + --without-debug \ + --without-normal \ + --enable-pc-files \ + --enable-widec && + +make && +make -j1 install && + +mv -v /usr/lib/libncursesw.so.6* /lib && +ln -sfv ../../lib/"$(readlink /usr/lib/libncursesw.so)" /usr/lib/libncursesw.so && +for lib in ncurses form panel menu ; do + rm -vf /usr/lib/lib"${lib}".so && + echo "INPUT(-l${lib}w)" > /usr/lib/lib"${lib}".so && + ln -sfv "${lib}"w.pc /usr/lib/pkgconfig/"${lib}".pc +done + +rm -vf /usr/lib/libcursesw.so && +echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so && +ln -sfv libncurses.so /usr/lib/libcurses.so && + +rm -fv /usr/lib/libncurses++w.a && + +mkdir -v /usr/share/doc/ncurses-"${VERSION}" && +cp -v -R doc/* /usr/share/doc/ncurses-"${VERSION}" +>>>>>>> 6132c19762b7d74ba7ad06e291b6401c632bbc28 |