Patchwork [v1,1/1] new package : gsl the GNU Scientific Library.

login
register
mail settings
Submitter Sagaert Johan
Date March 20, 2012, 11:16 p.m.
Message ID <1332285417-2158-2-git-send-email-sagaert.johan@skynet.be>
Download mbox | patch
Permalink /patch/147869/
State Accepted
Headers show

Comments

Sagaert Johan - March 20, 2012, 11:16 p.m.
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
---
 package/Config.in        |    1 +
 package/libgsl/Config.in |    8 ++++++++
 package/libgsl/gsl.mk    |   11 +++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/libgsl/Config.in
 create mode 100644 package/libgsl/gsl.mk
Arnout Vandecappelle - March 22, 2012, 11:02 p.m.
On Wednesday 21 March 2012 00:16:57 Sagaert Johan wrote:
> Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout
Thomas Petazzoni - Aug. 12, 2012, 5:38 p.m.
Le Wed, 21 Mar 2012 00:16:57 +0100,
Sagaert Johan <sagaert.johan@skynet.be> a écrit :

> Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>

Thanks, applied to next.

I renamed the package to 'gsl' to match the upstream name, and did some
other minor fixes as well.

Thanks!

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 85583c6..11be301 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -382,6 +382,7 @@  source "package/libelf/Config.in"
 source "package/libevent/Config.in"
 source "package/libev/Config.in"
 source "package/libffi/Config.in"
+source "package/libgsl/Config.in"
 source "package/libglib2/Config.in"
 source "package/libical/Config.in"
 source "package/libnspr/Config.in"
diff --git a/package/libgsl/Config.in b/package/libgsl/Config.in
new file mode 100644
index 0000000..b81bc76
--- /dev/null
+++ b/package/libgsl/Config.in
@@ -0,0 +1,8 @@ 
+config BR2_PACKAGE_LIBGSL
+	bool "libgsl"
+	help
+	  The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers.
+	  The library provides a wide range of mathematical routines such as random number generators,
+	  special functions and least-squares fitting.
+	  There are over 1000 functions in total with an extensive test suite.
+ 	  http://www.gnu.org/software/gsl
diff --git a/package/libgsl/gsl.mk b/package/libgsl/gsl.mk
new file mode 100644
index 0000000..a53c196
--- /dev/null
+++ b/package/libgsl/gsl.mk
@@ -0,0 +1,11 @@ 
+#############################################################
+#
+# gnu gsl
+#
+#############################################################
+LIBGSL_VERSION = 1.15
+LIBGSL_SOURCE = gsl-$(LIBGSL_VERSION).tar.gz
+LIBGSL_SITE = $(BR2_GNU_MIRROR)/gsl
+LIBGSL_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))