From aa4cbe5fc42d708fbdb3828f58ab70e0e6224a06 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 25 Sep 2012 15:49:18 +0400 Subject: Example: GNU m4 --- examples/gm4/Makefile | 26 ++++++++++++++++++++++++++ examples/gm4/gm4.p5m | 19 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 examples/gm4/Makefile create mode 100644 examples/gm4/gm4.p5m 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 -- cgit v1.2.3