aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-25 15:49:18 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-25 15:49:18 +0400
commitaa4cbe5fc42d708fbdb3828f58ab70e0e6224a06 (patch)
tree989c85b3cd61dd0fcd1909927980d00d68570da4 /examples
parent992cbaaf0be4036040b3fcea206b954080b85457 (diff)
downloadcibs-aa4cbe5fc42d708fbdb3828f58ab70e0e6224a06.tar.gz
Example: GNU m4
Diffstat (limited to 'examples')
-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