aboutsummaryrefslogtreecommitdiff
path: root/examples/gm4
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gm4')
-rw-r--r--examples/gm4/Makefile26
-rw-r--r--examples/gm4/gm4.p5m19
2 files changed, 45 insertions, 0 deletions
diff --git a/examples/gm4/Makefile b/examples/gm4/Makefile
new file mode 100644
index 0000000..393aa1c
--- /dev/null
+++ b/examples/gm4/Makefile
@@ -0,0 +1,26 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.mk
+#include /usr/share/cibs/rules/autoreconf.mk
+include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/32.mk
+
+summary := GNU implementation of the traditional Unix macro processor
+license := GPL
+license-file := COPYING
+
+prefix := /usr/gnu
+
+build-depends += \
+ pkg:/library/libsigsegv
+
+
+home := http://www.gnu.org/software/m4/
+name := m4
+version := 1.4.16
+archive := $(name)-$(version).tar.bz2
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:8a7cef47fecab6272eb86a6be6363b2f \
+ sha1:0390c77780ab4cd65b07fe4e2d23e4e39769f967 \
+ sha256:42500c1fddd90bcb161e6b58de931d769929c495c124112d67428a23543db90c \
+ size:1258362
diff --git a/examples/gm4/gm4.p5m b/examples/gm4/gm4.p5m
new file mode 100644
index 0000000..638004d
--- /dev/null
+++ b/examples/gm4/gm4.p5m
@@ -0,0 +1,19 @@
+set name=pkg.fmri value=pkg:/developer/macro/gnu-$(name)@$(ips_version)
+set name=pkg.summary value="$(summary)"
+set name=info.upstream-url value="$(home)"
+set name=info.source_url value="$(download)"
+
+license $(license-file) license=$(license)
+
+dir path=usr
+dir path=usr/gnu
+dir path=usr/gnu/bin
+dir path=usr/gnu/share
+dir path=usr/gnu/share/man
+dir path=usr/gnu/share/man/man1
+dir path=usr/share/info
+file path=usr/gnu/bin/m4
+file path=usr/gnu/share/man/man1/m4.1
+file path=usr/share/info/m4.info
+file path=usr/share/info/m4.info-1
+file path=usr/share/info/m4.info-2