summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild16
-rw-r--r--terminfo-base.pkg/control10
-rw-r--r--terminfo-linux.pkg/control10
3 files changed, 36 insertions, 0 deletions
diff --git a/build b/build
index 5d13c34..80fa3bd 100755
--- a/build
+++ b/build
@@ -52,4 +52,20 @@ install: build
(cd obj-ncursesw && make install.libs)
mv dest/usr/bin/clear dest/usr/bin/clear.ncurses
mv dest/usr/bin/reset dest/usr/bin/reset.ncurses
+ @# Extract a few individual terminal type definitions. This would be
+ @# hard to do with oh-installfiles.
+ @# terminfo-base
+ mkdir -p terminfo-base.data/usr/share/terminfo/a/
+ mkdir -p terminfo-base.data/usr/share/terminfo/d/
+ mkdir -p terminfo-base.data/usr/share/terminfo/v/
+ mv dest/usr/share/terminfo/a/ansi \
+ terminfo-base.data/usr/share/terminfo/a/ansi
+ mv dest/usr/share/terminfo/d/dumb \
+ terminfo-base.data/usr/share/terminfo/d/dumb
+ mv dest/usr/share/terminfo/v/vt102 \
+ terminfo-base.data/usr/share/terminfo/v/vt102
+ @# terminfo-linux
+ mkdir -p terminfo-linux.data/usr/share/terminfo/l/
+ mv dest/usr/share/terminfo/l/linux \
+ terminfo-linux.data/usr/share/terminfo/l/linux
oh-installfiles
diff --git a/terminfo-base.pkg/control b/terminfo-base.pkg/control
new file mode 100644
index 0000000..509a50f
--- /dev/null
+++ b/terminfo-base.pkg/control
@@ -0,0 +1,10 @@
+Architecture: all
+Platform: all
+Depends: libncurses.5 (= ${Binary-Version})
+Description: Basic terminal type definition
+ The ncurses (new curses) library is a free software emulation of curses in
+ System V Release 4.0, and more. It uses terminfo format, supports pads and
+ color and multiple highlights and forms characters and function-key mapping,
+ and has all the other SYSV-curses enhancements over BSD curses.
+ .
+ This package provides the ansi, dumb, and vt102 terminfo data files.
diff --git a/terminfo-linux.pkg/control b/terminfo-linux.pkg/control
new file mode 100644
index 0000000..13ce450
--- /dev/null
+++ b/terminfo-linux.pkg/control
@@ -0,0 +1,10 @@
+Architecture: all
+Platform: all
+Depends: libncurses.5 (= ${Binary-Version})
+Description: Linux terminal type definition
+ The ncurses (new curses) library is a free software emulation of curses in
+ System V Release 4.0, and more. It uses terminfo format, supports pads and
+ color and multiple highlights and forms characters and function-key mapping,
+ and has all the other SYSV-curses enhancements over BSD curses.
+ .
+ This package provides the linux terminfo data file.