summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-06 17:49:23 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-06 17:49:23 (EDT)
commit5b71c6321f712100dff4fc7ca3d73035fcf4a8fd (patch)
treecae97be2c9720cc7555307bbe34b93cb79e3682f /build
parent632d5d4888354d28f7d03e38c3f8e76f15ad93e7 (diff)
libtinfow.5, libtinfow.6: New binary packages
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/build b/build
index beacb0a..aecd1b7 100755
--- a/build
+++ b/build
@@ -55,6 +55,16 @@ install: build
rm dest*/usr/lib/$(OPK_HOST_ARCH)/*.a
mv dest-ncurses/usr/bin/clear dest-ncurses/usr/bin/clear.ncurses
mv dest-ncurses/usr/bin/reset dest-ncurses/usr/bin/reset.ncurses
+ @# Rename wide-char libtinfo to libtinfow.
+ set -e; pc=usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ncursesw.pc; \
+ for d in dest-ncursesw dest-ncursesw-legacy; do \
+ (cd $${d}/usr/lib/$(OPK_HOST_ARCH); \
+ for f in libtinfo*; do \
+ mv "$${f}" "libtinfow$${f#libtinfo}"; \
+ done); \
+ mv $${d}/$${pc} $${d}/$${pc}.orig; \
+ sed 's/-ltinfo/-ltinfow/' $${d}/$${pc}.orig 1>$${d}/$${pc}; \
+ done
rm dest*/usr/bin/ncurses*-config
rm dest-ncurses/usr/share/man/man1/ncurses*-config.1
@# Extract a few individual terminal type definitions. This would be