aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-03 19:16:24 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-03 19:16:24 +0400
commit903e59702659a69466e991fbcb2fdcc7b42837b9 (patch)
tree19309a791108878240d483e3eb4e488a8b326c61 /examples
parent5d45e62a6469517c08572737578d2cbb0b399ad5 (diff)
downloadcibs-903e59702659a69466e991fbcb2fdcc7b42837b9.tar.gz
+ gperf
Diffstat (limited to 'examples')
-rw-r--r--examples/gperf/Makefile20
-rw-r--r--examples/gperf/gperf.p5m18
2 files changed, 38 insertions, 0 deletions
diff --git a/examples/gperf/Makefile b/examples/gperf/Makefile
new file mode 100644
index 0000000..6d3ca23
--- /dev/null
+++ b/examples/gperf/Makefile
@@ -0,0 +1,20 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.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
+
+
+name := gperf
+home := http://www.gnu.org/software/$(name)/
+version := 3.0.4
+archive := $(name)-$(version).tar.gz
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:c1f1db32fb6598d6a93e6e88796a8632 \
+ sha1:e32d4aff8f0c730c9a56554377b2c6d82d0951b8 \
+ sha256:767112a204407e62dbc3106647cf839ed544f3cf5d0f0523aaa2508623aad63e \
+ size:983500
diff --git a/examples/gperf/gperf.p5m b/examples/gperf/gperf.p5m
new file mode 100644
index 0000000..3918850
--- /dev/null
+++ b/examples/gperf/gperf.p5m
@@ -0,0 +1,18 @@
+set name=pkg.fmri value=pkg:/developer/$(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/bin
+dir path=usr/share
+dir path=usr/share/man
+dir path=usr/share/man/man1
+dir path=usr/share/doc
+dir path=usr/share/info
+file path=usr/bin/gperf
+file path=usr/share/man/man1/gperf.1
+file path=usr/share/doc/gperf.html
+file path=usr/share/info/gperf.info