summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-04 08:58:27 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-04 08:58:27 (EDT)
commit97d6a9c46e516ac61259ed441fa513ac0a687b3f (patch)
tree524ac0ed0ea76ba0a18ceb50e2c5bd04c84ee48b
parent7218e288a7928e7a7bff46c53fd9722ec0a2373d (diff)
terminfo-base, terminfo-linux: New packages
-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.