summaryrefslogtreecommitdiffstats
path: root/base/gawk
diff options
context:
space:
mode:
Diffstat (limited to 'base/gawk')
-rw-r--r--base/gawk/.footprint40
-rw-r--r--base/gawk/.md5sum1
-rwxr-xr-xbase/gawk/Pkgfile30
-rw-r--r--base/gawk/config.h2
4 files changed, 73 insertions, 0 deletions
diff --git a/base/gawk/.footprint b/base/gawk/.footprint
new file mode 100644
index 000000000..80cdef0ba
--- /dev/null
+++ b/base/gawk/.footprint
@@ -0,0 +1,40 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/awk -> gawk
+-rwxr-xr-x root/root usr/bin/gawk
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/awk/
+-rwxr-xr-x root/root usr/lib/awk/grcat
+-rwxr-xr-x root/root usr/lib/awk/pwcat
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/awk/
+-rw-r--r-- root/root usr/share/awk/assert.awk
+-rw-r--r-- root/root usr/share/awk/bits2str.awk
+-rw-r--r-- root/root usr/share/awk/cliff_rand.awk
+-rw-r--r-- root/root usr/share/awk/ctime.awk
+-rw-r--r-- root/root usr/share/awk/ftrans.awk
+-rw-r--r-- root/root usr/share/awk/getopt.awk
+-rw-r--r-- root/root usr/share/awk/gettime.awk
+-rw-r--r-- root/root usr/share/awk/group.awk
+-rw-r--r-- root/root usr/share/awk/join.awk
+-rw-r--r-- root/root usr/share/awk/libintl.awk
+-rw-r--r-- root/root usr/share/awk/nextfile.awk
+-rw-r--r-- root/root usr/share/awk/noassign.awk
+-rw-r--r-- root/root usr/share/awk/ord.awk
+-rw-r--r-- root/root usr/share/awk/passwd.awk
+-rw-r--r-- root/root usr/share/awk/readable.awk
+-rw-r--r-- root/root usr/share/awk/rewind.awk
+-rw-r--r-- root/root usr/share/awk/round.awk
+-rw-r--r-- root/root usr/share/awk/strtonum.awk
+-rw-r--r-- root/root usr/share/awk/zerofile.awk
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/gawk.info.gz
+-rw-r--r-- root/root usr/share/info/gawkinet.info.gz
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/gawk.mo
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+lrwxrwxrwx root/root usr/share/man/man1/awk.1.gz -> gawk.1.gz
+-rw-r--r-- root/root usr/share/man/man1/gawk.1.gz
diff --git a/base/gawk/.md5sum b/base/gawk/.md5sum
new file mode 100644
index 000000000..44b02116b
--- /dev/null
+++ b/base/gawk/.md5sum
@@ -0,0 +1 @@
+a38d5dec19320ace01f1d16c8beb1363 gawk-3.1.7.tar.gz
diff --git a/base/gawk/Pkgfile b/base/gawk/Pkgfile
new file mode 100755
index 000000000..6cdb41280
--- /dev/null
+++ b/base/gawk/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Programme pour manipuler des fichiers texte
+# URL: http://www.gnu.org/software/gawk/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=gawk
+version=3.1.7
+release=1
+source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz\
+ )
+
+build() {
+cd $name-$version
+./configure --prefix=/usr \
+ --libexec=/usr/lib \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ac_cv_func_working_mktime=yes
+make
+make DESTDIR=$PKG install
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+rm $PKG/usr/bin/gawk-$version \
+ $PKG/usr/bin/pgawk-$version \
+ $PKG/usr/bin/{p,i}gawk \
+ $PKG/usr/share/man/man1/{p,i}gawk.1
+ln -sf gawk.1.gz $PKG/usr/share/man/man1/awk.1.gz
+}
diff --git a/base/gawk/config.h b/base/gawk/config.h
new file mode 100644
index 000000000..28f106f8b
--- /dev/null
+++ b/base/gawk/config.h
@@ -0,0 +1,2 @@
+#define HAVE_LANGINFO_CODESET 1
+#define HAVE_LC_MESSAGES 1