summaryrefslogtreecommitdiff
path: root/devel/libsigsegv
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-11 22:00:01 +0000
committerwiz <wiz@pkgsrc.org>2006-03-11 22:00:01 +0000
commit9564b30fdbaee0cd57339f88fda19a138172a087 (patch)
tree7ca80fc4ed78f6b71003c1eb20f5d68933c85291 /devel/libsigsegv
parent8bf0b7f2297fb550b2cb78736b459054093b9a21 (diff)
downloadpkgsrc-9564b30fdbaee0cd57339f88fda19a138172a087.tar.gz
Initial import of libsigsegv-2.2 from pkgsrc-wip, packaged by
Martijn van Buul. GNU libsigsegv is a library for handling page faults in user mode. A page fault occurs when a program tries to access a region of memory that is currently unavailable. Catching and handling a page fault is a useful technique for implementing: * Pageable virtual memory * Memory-mapped access to persistent databases * Generational garbage collectors * Stack overflow handlers * Distributed shared memory
Diffstat (limited to 'devel/libsigsegv')
-rw-r--r--devel/libsigsegv/DESCR10
-rw-r--r--devel/libsigsegv/Makefile17
-rw-r--r--devel/libsigsegv/PLIST3
-rw-r--r--devel/libsigsegv/buildlink3.mk20
-rw-r--r--devel/libsigsegv/distinfo5
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/libsigsegv/DESCR b/devel/libsigsegv/DESCR
new file mode 100644
index 00000000000..1e46d0f4758
--- /dev/null
+++ b/devel/libsigsegv/DESCR
@@ -0,0 +1,10 @@
+GNU libsigsegv is a library for handling page faults in user mode. A page
+fault occurs when a program tries to access a region of memory that is
+currently unavailable. Catching and handling a page fault is a useful
+technique for implementing:
+
+* Pageable virtual memory
+* Memory-mapped access to persistent databases
+* Generational garbage collectors
+* Stack overflow handlers
+* Distributed shared memory
diff --git a/devel/libsigsegv/Makefile b/devel/libsigsegv/Makefile
new file mode 100644
index 00000000000..587f75f8639
--- /dev/null
+++ b/devel/libsigsegv/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/11 22:00:01 wiz Exp $
+#
+
+DISTNAME= libsigsegv-2.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=libsigsegv/}
+
+MAINTAINER= martijn.van.buul@gmail.com
+HOMEPAGE= http://libsigsegv.sourceforge.net/
+COMMENT= Library for handling page faults in user mode
+
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+TEST_TARGET= check
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libsigsegv/PLIST b/devel/libsigsegv/PLIST
new file mode 100644
index 00000000000..b5c7332797e
--- /dev/null
+++ b/devel/libsigsegv/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/11 22:00:01 wiz Exp $
+include/sigsegv.h
+lib/libsigsegv.la
diff --git a/devel/libsigsegv/buildlink3.mk b/devel/libsigsegv/buildlink3.mk
new file mode 100644
index 00000000000..9cdcf7fe2f6
--- /dev/null
+++ b/devel/libsigsegv/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/03/11 22:00:01 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSIGSEGV_BUILDLINK3_MK:= ${LIBSIGSEGV_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libsigsegv
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsigsegv}
+BUILDLINK_PACKAGES+= libsigsegv
+
+.if !empty(LIBSIGSEGV_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libsigsegv+= libsigsegv>=2.2
+BUILDLINK_PKGSRCDIR.libsigsegv?= ../../wip/libsigsegv
+# only installs a static library
+BUILDLINK_DEPMETHOD.libsigsegv?= build
+.endif # LIBSIGSEGV_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/libsigsegv/distinfo b/devel/libsigsegv/distinfo
new file mode 100644
index 00000000000..4d01865002c
--- /dev/null
+++ b/devel/libsigsegv/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/03/11 22:00:01 wiz Exp $
+
+SHA1 (libsigsegv-2.2.tar.gz) = 793bb8ddd8f14db54d4c6acae751eab571c8508c
+RMD160 (libsigsegv-2.2.tar.gz) = 778b9a76f6501fd6a45dec3e4cca1f6786d9de03
+Size (libsigsegv-2.2.tar.gz) = 361450 bytes