summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore11
-rwxr-xr-xbuild10
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--format1
-rw-r--r--keyring.gpgbin0 -> 30413 bytes
-rw-r--r--m4.pkg/control7
-rw-r--r--m4.pkg/docs0
-rw-r--r--source.mk18
9 files changed, 55 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bee708d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+# Swap and backup files
+.*.sw*
+.sw*
+*~
+Session.vim
+
+# Source archives
+m4-*.orig.tar.*
+
+# Work area
+tmp/
diff --git a/build b/build
new file mode 100755
index 0000000..3732555
--- /dev/null
+++ b/build
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+build:
+ oh-autoconfigure
+ oh-autobuild
+
+install: build
+ oh-autoinstall
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..a504fec
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+m4 (1.4.16-1) trunk
+
+ * Initial release.
+
+ -- "P. J. McDermott" <pjm@nac.net> Sun, 16 Jun 2013 17:41:14 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..2c2b34a
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Maintainer: "P. J. McDermott" <pjm@nac.net>
+Build-Depends: opkhelper-3.0
+Homepage: https://www.gnu.org/software/m4/
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/keyring.gpg b/keyring.gpg
new file mode 100644
index 0000000..53d4802
--- /dev/null
+++ b/keyring.gpg
Binary files differ
diff --git a/m4.pkg/control b/m4.pkg/control
new file mode 100644
index 0000000..67f5c6f
--- /dev/null
+++ b/m4.pkg/control
@@ -0,0 +1,7 @@
+Architecture: any
+Platform: all
+Description: macro processor
+ GNU M4 is an implementation of the traditional Unix macro processor. It is
+ mostly SVR4 compatible although it has some extensions (for example, handling
+ more than 9 positional parameters to macros). GNU M4 also has built-in
+ functions for including files, running shell commands, doing arithmetic, etc.
diff --git a/m4.pkg/docs b/m4.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/m4.pkg/docs
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..9719b98
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,18 @@
+upstream_archive = m4-$(OPK_SOURCE_VERSION_UPSTREAM).tar.bz2
+upstream_url = http://ftp.gnu.org/gnu/m4/$(upstream_archive)
+source_archive = ../m4-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2
+keys = 2527436A
+
+$(source_archive):
+ wget '$(upstream_url)'
+ set -e; if gpg --version >/dev/null 2>&1; then \
+ wget '$(upstream_url).sig'; \
+ [ -e ../keyring.gpg ] || \
+ gpg --keyring ../keyring.gpg --no-default-keyring \
+ --recv-keys $(keys) || true; \
+ gpg --verify --keyring ../keyring.gpg \
+ '$(upstream_archive).sig'; \
+ fi
+ mv '$(upstream_archive)' '$(source_archive)'
+
+source: $(source_archive)