aboutsummaryrefslogtreecommitdiff
path: root/examples/libsigsegv
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-01 15:55:09 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-01 15:55:09 +0400
commit96298ca5123df41976dce538d56eb7a75aaeb950 (patch)
tree9ca157343b59019d341db0ad3de3fb64e5ccefca /examples/libsigsegv
parent71e6d1d990b2d2cad0a8bd06df02d0e12e4c7c9d (diff)
downloadcibs-96298ca5123df41976dce538d56eb7a75aaeb950.tar.gz
+ libsigsegv
Diffstat (limited to 'examples/libsigsegv')
-rw-r--r--examples/libsigsegv/Makefile23
-rw-r--r--examples/libsigsegv/libsigsegv.p5m19
2 files changed, 42 insertions, 0 deletions
diff --git a/examples/libsigsegv/Makefile b/examples/libsigsegv/Makefile
new file mode 100644
index 0000000..407cc55
--- /dev/null
+++ b/examples/libsigsegv/Makefile
@@ -0,0 +1,23 @@
+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
+include /usr/share/cibs/rules/64.mk
+
+summary := handling page faults in user mode
+license := GPL
+license-file := COPYING
+
+
+configure-options += --enable-shared
+
+name := libsigsegv
+home := http://www.gnu.org/software/$(name)/
+version := 2.10
+archive := $(name)-$(version).tar.gz
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:7f96fb1f65b3b8cbc1582fb7be774f0f \
+ sha1:b75a647a9ebda70e7a3b33583efdd550e0eac094 \
+ sha256:8460a4a3dd4954c3d96d7a4f5dd5bc4d9b76f5754196aa245287553b26d2199a \
+ size:402279
diff --git a/examples/libsigsegv/libsigsegv.p5m b/examples/libsigsegv/libsigsegv.p5m
new file mode 100644
index 0000000..1577f64
--- /dev/null
+++ b/examples/libsigsegv/libsigsegv.p5m
@@ -0,0 +1,19 @@
+
+set name=pkg.fmri value=pkg:/library/$(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/include
+dir path=usr/lib
+dir path=usr/lib/$(MACH64)
+file path=usr/include/sigsegv.h
+file path=usr/lib/$(MACH64)/libsigsegv.so.2.0.3
+file path=usr/lib/libsigsegv.so.2.0.3
+link path=usr/lib/$(MACH64)/libsigsegv.so target=libsigsegv.so.2.0.3
+link path=usr/lib/$(MACH64)/libsigsegv.so.2 target=libsigsegv.so.2.0.3
+link path=usr/lib/libsigsegv.so target=libsigsegv.so.2.0.3
+link path=usr/lib/libsigsegv.so.2 target=libsigsegv.so.2.0.3