summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild5
-rw-r--r--libreadline-dev.pkg/control6
-rw-r--r--libreadline-dev.pkg/files5
-rw-r--r--libreadline-doc.pkg/control6
-rw-r--r--libreadline-doc.pkg/files3
-rw-r--r--libreadline.6-dbg.pkg/control6
-rw-r--r--libreadline.6.pkg/control4
-rw-r--r--libreadline.6.pkg/docs0
-rw-r--r--libreadline.6.pkg/files2
-rw-r--r--substvars11
10 files changed, 48 insertions, 0 deletions
diff --git a/build b/build
index 84fb41b..3061d14 100755
--- a/build
+++ b/build
@@ -15,6 +15,11 @@ build: configure
install: build
oh-autoinstall
+ # Put all documentation files in /usr/share/doc/libreadline.6/.
+ mkdir -p dest/usr/share/doc/libreadline.6
+ mv dest/usr/share/readline dest/usr/share/doc/libreadline.6/examples
+ # Remove GNU Info index.
+ rm -f dest/usr/share/info/dir
oh-fixperms
oh-strip
oh-installfiles
diff --git a/libreadline-dev.pkg/control b/libreadline-dev.pkg/control
new file mode 100644
index 0000000..536106f
--- /dev/null
+++ b/libreadline-dev.pkg/control
@@ -0,0 +1,6 @@
+Architecture: any
+Platform: all
+Description: Line editing and command history libraries - development files
+ ${Common-Description}
+ This package provides development files for GNU Readline.
+
diff --git a/libreadline-dev.pkg/files b/libreadline-dev.pkg/files
new file mode 100644
index 0000000..a1d1062
--- /dev/null
+++ b/libreadline-dev.pkg/files
@@ -0,0 +1,5 @@
+/usr/include
+/usr/lib/*/libhistory.a
+/usr/lib/*/libhistory.so
+/usr/lib/*/libreadline.a
+/usr/lib/*/libreadline.so
diff --git a/libreadline-doc.pkg/control b/libreadline-doc.pkg/control
new file mode 100644
index 0000000..b9ee078
--- /dev/null
+++ b/libreadline-doc.pkg/control
@@ -0,0 +1,6 @@
+Architecture: all
+Platform: all
+Description: Line editing and command history libraries - documentation
+ ${Common-Description}
+ .
+ This package provides documentation for GNU Readline.
diff --git a/libreadline-doc.pkg/files b/libreadline-doc.pkg/files
new file mode 100644
index 0000000..e8e7dd6
--- /dev/null
+++ b/libreadline-doc.pkg/files
@@ -0,0 +1,3 @@
+/usr/share/info
+/usr/share/man
+/usr/share/doc/libreadline.6/examples
diff --git a/libreadline.6-dbg.pkg/control b/libreadline.6-dbg.pkg/control
new file mode 100644
index 0000000..0d9eda2
--- /dev/null
+++ b/libreadline.6-dbg.pkg/control
@@ -0,0 +1,6 @@
+Architecture: any
+Platform: all
+Description: Line editing and command history libraries - debugging files
+ ${Common-Description}
+ .
+ This package provides debugging symbols for GNU Readline.
diff --git a/libreadline.6.pkg/control b/libreadline.6.pkg/control
new file mode 100644
index 0000000..ac2bb2f
--- /dev/null
+++ b/libreadline.6.pkg/control
@@ -0,0 +1,4 @@
+Architecture: any
+Platform: all
+Description: Line editing and command history libraries
+ ${Common-Description}
diff --git a/libreadline.6.pkg/docs b/libreadline.6.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libreadline.6.pkg/docs
diff --git a/libreadline.6.pkg/files b/libreadline.6.pkg/files
new file mode 100644
index 0000000..7d16c05
--- /dev/null
+++ b/libreadline.6.pkg/files
@@ -0,0 +1,2 @@
+/usr/lib/*/libhistory.so.*
+/usr/lib/*/libreadline.so.*
diff --git a/substvars b/substvars
new file mode 100644
index 0000000..815b24c
--- /dev/null
+++ b/substvars
@@ -0,0 +1,11 @@
+Common-Description:
+ The GNU Readline library provides a set of functions for use by applications
+ that allow users to edit command lines as they are typed in. Both Emacs and vi
+ editing modes are available. The Readline library includes additional
+ functions to maintain a list of previously-entered command lines, to recall and
+ perhaps reedit those lines, and perform csh-like history expansion on previous
+ commands.
+ .
+ The history facilites are also placed into a separate library, the History
+ library, as part of the build process. The History library may be used without
+ Readline in applications which desire its capabilities.