summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild5
-rw-r--r--gawk-doc.pkg/control7
-rw-r--r--gawk-doc.pkg/files2
-rw-r--r--gawk-locale.pkg/control7
-rw-r--r--gawk-locale.pkg/files1
-rw-r--r--gawk.pkg/control5
-rw-r--r--gawk.pkg/docs0
-rw-r--r--gawk.pkg/files5
-rw-r--r--substvars4
9 files changed, 35 insertions, 1 deletions
diff --git a/build b/build
index ce80e13..98b6c73 100755
--- a/build
+++ b/build
@@ -15,8 +15,11 @@ build: configure
install: build
oh-autoinstall
+ # Remove symbolic and hard links in /usr/bin.
+ rm -f dest/usr/bin/awk
+ rm -f dest/usr/bin/gawk-*
# Remove GNU Info index.
rm -f dest/usr/share/info/dir
oh-fixperms
- oh-strip -k
+ oh-strip
oh-installfiles
diff --git a/gawk-doc.pkg/control b/gawk-doc.pkg/control
new file mode 100644
index 0000000..c4c5a17
--- /dev/null
+++ b/gawk-doc.pkg/control
@@ -0,0 +1,7 @@
+Architecture: all
+Platform: all
+Depends: gawk (= ${Binary-Version})
+Description: GNU Awk, a pattern scanning and processing language - documentation
+ ${Common-Description}
+ .
+ This package provides documentation for Gawk.
diff --git a/gawk-doc.pkg/files b/gawk-doc.pkg/files
new file mode 100644
index 0000000..6da7b02
--- /dev/null
+++ b/gawk-doc.pkg/files
@@ -0,0 +1,2 @@
+/usr/share/info
+/usr/share/man
diff --git a/gawk-locale.pkg/control b/gawk-locale.pkg/control
new file mode 100644
index 0000000..8eb650f
--- /dev/null
+++ b/gawk-locale.pkg/control
@@ -0,0 +1,7 @@
+Architecture: all
+Platform: all
+Depends: gawk (= ${Binary-Version})
+Description: GNU Awk, a pattern scanning and processing language - locales
+ ${Common-Description}
+ .
+ This package provides locale files for Gawk.
diff --git a/gawk-locale.pkg/files b/gawk-locale.pkg/files
new file mode 100644
index 0000000..94125c7
--- /dev/null
+++ b/gawk-locale.pkg/files
@@ -0,0 +1 @@
+/usr/share/locale
diff --git a/gawk.pkg/control b/gawk.pkg/control
new file mode 100644
index 0000000..dfa2d19
--- /dev/null
+++ b/gawk.pkg/control
@@ -0,0 +1,5 @@
+Architecture: any
+Platform: all
+Depends: libreadline.6, libmpfr.4, libgmp.10, libtinfo.5
+Description: GNU Awk, a pattern scanning and processing language
+ ${Common-Description}
diff --git a/gawk.pkg/docs b/gawk.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gawk.pkg/docs
diff --git a/gawk.pkg/files b/gawk.pkg/files
new file mode 100644
index 0000000..892a1b3
--- /dev/null
+++ b/gawk.pkg/files
@@ -0,0 +1,5 @@
+/usr/bin
+/usr/include
+/usr/lib/*/awk
+/usr/lib/*/gawk
+/usr/share/awk
diff --git a/substvars b/substvars
index 3f84c69..483d196 100644
--- a/substvars
+++ b/substvars
@@ -1 +1,5 @@
Common-Description:
+ awk is a program that you can use to select particular records in a file and
+ perform operations upon them.
+ .
+ Gawk is the GNU implementation of the AWK programming language.