Patchwork libsigsegv: new package

login
register
mail settings
Submitter Simon Dawson
Date April 2, 2013, 2:42 p.m.
Message ID <1364913738-13306-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/233018/
State Superseded
Headers show

Comments

Simon Dawson - April 2, 2013, 2:42 p.m.
From: Simon Dawson <spdawson@gmail.com>

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/Config.in                |    1 +
 package/libsigsegv/Config.in     |    6 ++++++
 package/libsigsegv/libsigsegv.mk |   13 +++++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/libsigsegv/Config.in
 create mode 100644 package/libsigsegv/libsigsegv.mk
Thomas Petazzoni - April 7, 2013, 8:04 p.m.
Simon,

On Tue,  2 Apr 2013 15:42:18 +0100, spdawson@gmail.com wrote:

> +LIBSIGSEGV_VERSION = 2.6
> +LIBSIGSEGV_SITE = http://ftp.gnu.org/gnu/libsigsegv

$(BR2_GNU_MIRROR)

Other than that:

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson - April 8, 2013, 6:29 a.m.
On 7 April 2013 21:04, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
>> +LIBSIGSEGV_VERSION = 2.6
>> +LIBSIGSEGV_SITE = http://ftp.gnu.org/gnu/libsigsegv
>
> $(BR2_GNU_MIRROR)
>
> Other than that:
>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks for the review Thomas; I'll submit an updated patch.

Simon.

Patch

diff --git a/package/Config.in b/package/Config.in
index 69d87f0..9fec8ca 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -570,6 +570,7 @@  source "package/libnspr/Config.in"
 source "package/libpfm4/Config.in"
 source "package/libpthsem/Config.in"
 source "package/libsigc/Config.in"
+source "package/libsigsegv/Config.in"
 source "package/libtasn1/Config.in"
 source "package/libtpl/Config.in"
 source "package/libseccomp/Config.in"
diff --git a/package/libsigsegv/Config.in b/package/libsigsegv/Config.in
new file mode 100644
index 0000000..c46bb92
--- /dev/null
+++ b/package/libsigsegv/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_LIBSIGSEGV
+	bool "libsigsegv"
+	help
+	  Library for handling page faults in user mode.
+
+	  http://libsigsegv.sourceforge.net/
diff --git a/package/libsigsegv/libsigsegv.mk b/package/libsigsegv/libsigsegv.mk
new file mode 100644
index 0000000..73a81bd
--- /dev/null
+++ b/package/libsigsegv/libsigsegv.mk
@@ -0,0 +1,13 @@ 
+#############################################################
+#
+# libsigsegv
+#
+#############################################################
+
+LIBSIGSEGV_VERSION = 2.6
+LIBSIGSEGV_SITE = http://ftp.gnu.org/gnu/libsigsegv
+LIBSIGSEGV_INSTALL_STAGING = YES
+LIBSIGSEGV_LICENSE = GPLv2+
+LIBSIGSEGV_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))