* [Buildroot] [PATCH v1 0/1] New package : GSL The GNU Scientific Library
@ 2012-03-12 2:19 Sagaert Johan
2012-03-12 2:19 ` [Buildroot] [PATCH v1 1/1] libgsl : new package " Sagaert Johan
0 siblings, 1 reply; 3+ messages in thread
From: Sagaert Johan @ 2012-03-12 2:19 UTC (permalink / raw)
To: buildroot
The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License.
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.
The complete range of subject areas covered by the library includes,
Complex Numbers Roots of Polynomials
Special Functions Vectors and Matrices
Permutations Sorting
BLAS Support Linear Algebra
Eigensystems Fast Fourier Transforms
etc...
Sagaert Johan (1):
libgsl : new package The GNU Scientific Library
package/Config.in | 1 +
package/libgsl/Config.in | 5 +++++
package/libgsl/gsl.mk | 12 ++++++++++++
3 files changed, 18 insertions(+)
create mode 100644 package/libgsl/Config.in
create mode 100644 package/libgsl/gsl.mk
--
1.7.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v1 1/1] libgsl : new package The GNU Scientific Library
2012-03-12 2:19 [Buildroot] [PATCH v1 0/1] New package : GSL The GNU Scientific Library Sagaert Johan
@ 2012-03-12 2:19 ` Sagaert Johan
2012-03-12 7:02 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Sagaert Johan @ 2012-03-12 2:19 UTC (permalink / raw)
To: buildroot
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
---
package/Config.in | 1 +
package/libgsl/Config.in | 5 +++++
package/libgsl/gsl.mk | 12 ++++++++++++
3 files changed, 18 insertions(+)
create mode 100644 package/libgsl/Config.in
create mode 100644 package/libgsl/gsl.mk
diff --git a/package/Config.in b/package/Config.in
index 4838edc..b7255fb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -380,6 +380,7 @@ source "package/libevent/Config.in"
source "package/libev/Config.in"
source "package/libffi/Config.in"
source "package/libglib2/Config.in"
+source "package/libgsl/Config.in"
source "package/libical/Config.in"
source "package/libnspr/Config.in"
source "package/libsigc/Config.in"
diff --git a/package/libgsl/Config.in b/package/libgsl/Config.in
new file mode 100644
index 0000000..4af94bd
--- /dev/null
+++ b/package/libgsl/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_LIBGSL
+ bool "libgsl"
+ help
+ The gnu scientific library
+ http://www.gnu.org/software/gsl
diff --git a/package/libgsl/gsl.mk b/package/libgsl/gsl.mk
new file mode 100644
index 0000000..de20923
--- /dev/null
+++ b/package/libgsl/gsl.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# gnu gsl
+#
+#############################################################
+LIBGSL_VERSION=1.14
+LIBGSL_SOURCE=gsl-$(LIBGSL_VERSION).tar.gz
+LIBGSL_SITE=ftp://ftp.gnu.org/gnu/gsl/
+LIBGSL_INSTALL_STAGING = YES
+LIBGSL_INSTALL_TARGET = YES
+
+$(eval $(call AUTOTARGETS,package,libgsl))
--
1.7.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v1 1/1] libgsl : new package The GNU Scientific Library
2012-03-12 2:19 ` [Buildroot] [PATCH v1 1/1] libgsl : new package " Sagaert Johan
@ 2012-03-12 7:02 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2012-03-12 7:02 UTC (permalink / raw)
To: buildroot
Le Mon, 12 Mar 2012 03:19:24 +0100,
Sagaert Johan <sagaert.johan@skynet.be> a ?crit :
> +LIBGSL_VERSION=1.14
> +LIBGSL_SOURCE=gsl-$(LIBGSL_VERSION).tar.gz
> +LIBGSL_SITE=ftp://ftp.gnu.org/gnu/gsl/
Could you please put spaces before and after = ?
Could you use BR2_GNU_MIRROR ?
> +LIBGSL_INSTALL_STAGING = YES
> +LIBGSL_INSTALL_TARGET = YES
This last line is not needed, it's the default.
> +$(eval $(call AUTOTARGETS,package,libgsl))
This should just be:
$(eval $(call AUTOTARGETS))
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-12 7:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 2:19 [Buildroot] [PATCH v1 0/1] New package : GSL The GNU Scientific Library Sagaert Johan
2012-03-12 2:19 ` [Buildroot] [PATCH v1 1/1] libgsl : new package " Sagaert Johan
2012-03-12 7:02 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox