summaryrefslogtreecommitdiff
path: root/sci-libs/alglib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/alglib
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/alglib')
-rw-r--r--sci-libs/alglib/Manifest9
-rw-r--r--sci-libs/alglib/alglib-3.10.0-r1.ebuild27
-rw-r--r--sci-libs/alglib/alglib-3.8.2-r1.ebuild27
-rw-r--r--sci-libs/alglib/files/CMakeLists.txt32
-rw-r--r--sci-libs/alglib/files/CMakeLists.txt-3.8.236
-rw-r--r--sci-libs/alglib/metadata.xml38
6 files changed, 169 insertions, 0 deletions
diff --git a/sci-libs/alglib/Manifest b/sci-libs/alglib/Manifest
new file mode 100644
index 000000000000..09a3b856f589
--- /dev/null
+++ b/sci-libs/alglib/Manifest
@@ -0,0 +1,9 @@
+AUX CMakeLists.txt 1076 SHA256 362393e6e363e739d9aeac7bebe84fce6848efc954f8dbcebed3d954163c947f SHA512 e5a10fe01c313863e23e9b61eef64e0b08232bf324d50ab6583bbb085cba5722c190bbdfca7bee485c65c8cd7e713300ced4a8feb2cdba0bee07244d5154de25 WHIRLPOOL 5e189008438a4791f278e27b180c557077b5951d617a2c690a0b19c9f900378be454c5aa07d2517ca8bbb7d8d57e01f5adda65f9785b39bd4af4d935823924d3
+AUX CMakeLists.txt-3.8.2 1159 SHA256 53ed7a133b27e83bf1a0255153a6d7b36924d59a7f0e40b8f688898640f53f15 SHA512 193661b9f949972048132bc07b4619c2f0d38135d6f0030621cd8aabf87e9e78a6bec18cdb4fb9cb9e547fee9f4387e21ba3a02d45c41033a9c0be9221cf7d3c WHIRLPOOL a02fa5b7833d6ff19f6987904c737bc24578d992c173a50a4a51d250fe25c363fa3268cb002863f94aa318fbb74d3b090bc489340aebb37816fc70ca662b3c54
+DIST alglib-3.10.0.cpp.gpl.tgz 1991101 SHA256 26a6aa966da5bba01da1bebddc0acb0a8fc579f07d53a2cbcfa5dfcaf612aaeb SHA512 f02b3db5ab8dee841f27186b6693997c4e6876e75310b0a31a04593dbcb41d300920404e32e7aecb39c8dd15e54cfee05b725caa27397a67b453f6e64cd1ef5e WHIRLPOOL c0092a82404b060de0bc01d3cba731eac0a5a8f17cea736b784091cadf672883438fdd9c3ab37efa764b8e57fb9a1d7ca3eb7a842b863c22d9961307041e5d66
+DIST alglib-3.8.2.cpp.tgz 1674260 SHA256 c02944558849c8b22f32f8dea03ebf3b77a0aab9aa2518927d25f6bfe7cb06a2 SHA512 3d7b6e3b5a29f25aee476bdd69e583d7504a2e06d390822b4aa2792eeb500e08c13477176be348a9dd560bad358e423465c9086f0c7c12f73dc88024364aed50 WHIRLPOOL 8ec5a51448c00241428f3b6c6191e31f94ee09dc1d94417178a59887edb8b4e8cfd561983bc4b31686971ad27c43e957aa7c1232e500000a0ea84e763f08ddcf
+EBUILD alglib-3.10.0-r1.ebuild 612 SHA256 cb8581978aaf993deb01fd0e4f5e5ae3651bbcfda680fe0202a4546c4a3b3500 SHA512 7b73e381edc67ace415cfcc150b9ab1c0e5e9d11ab4207aaac6049eaba53186763a0df7ce2893732ae59d1c5ab92e02e2f0e91761425427c29bcc47a034f6bba WHIRLPOOL 2e419603c0b26abad422f020aa0b06066658e0cd47e2d2196a0313769aa7c4b5a61f7133792881f7e7c52abf72fe77dc2554477ceef9773560dfe4a5873fc1a4
+EBUILD alglib-3.8.2-r1.ebuild 606 SHA256 d9558cbfe2d804cf17f83db569514d64b1d83a87eb2d314a729f24cfab4bd1dd SHA512 b1e71c39760f2e45384988f8c789456fb76ae110c5d9c6dd0ccb6f0bf72d898acee7a3bace7d888c7a90a9e5a62fdf1b0f223d7e92e6ac1a2914fd915ff2f0ad WHIRLPOOL d68e4b864427647fd55c32bd970513b08510ae7b720b687fe489c4b58d5942519d0ee9db02fd5d0c096b9c618cd82fecf4666551b05e68d4069e2b26a51e6a8e
+MISC ChangeLog 3831 SHA256 fb08b6fa6fdadf5f8486dc56d40959a05ed020cc0a944e828b3fde34aba9da43 SHA512 2c1c84076110b4c0b5e9ec0ed91218a0e2ec9b5e6a46db6c0811a4655b08f8cad143af0886847888b057a8e25a957aed1293fcb6556a9d94f848d5b7640eb46f WHIRLPOOL d79b2cd94c5458cb40dfdd30604ed95a7eb07eb7de5932d6a9a38e63f529d6f31653a91d8c84257a0306b568399a2b7ba80d199dc4c95553741b803e009009b3
+MISC ChangeLog-2015 887 SHA256 69a72734e6f85cdcd98bab276f0672ee96aba71241ec4a1e00d2dcd79072bf90 SHA512 e84406196ed2594dc9ba4a55d20bf22325b6e54e8b2642d43510ba271eca2f4907d63cd5f882a3b8e678e95de822ec8d25351806797efe17db11c7818c0fa32b WHIRLPOOL 84e1662ee575ed96c5a7d87e8413d81a92092bbcf837ccced2a88c57804b2bbedf8edaa72c600baefc8cd9f3758112df1ee46e5d7aedbf1332303d9fbc16a9ed
+MISC metadata.xml 1592 SHA256 7bfe6d631e6b77abe2b21207b81f1ddaaa032f49a05f6c47b81d4f21814e013e SHA512 e16165304d85c3201c428b46bb85006281a2faac170f6b7f2966bc683f57387a0d4b68eddd6ad2d4ed9d26af992f4f9b2616c761f0bf1102c6749a8025478844 WHIRLPOOL 31cfe5e7f1c79dfda9cacc53e35a60146218d7a244ad04c260d3c8869786a5d30309624520014f8343a8215e0935807db95d7fcb91c065c0e48fab9dfaf9dc79
diff --git a/sci-libs/alglib/alglib-3.10.0-r1.ebuild b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
new file mode 100644
index 000000000000..4144904b8fb4
--- /dev/null
+++ b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Numerical analysis and data processing library"
+HOMEPAGE="http://www.alglib.net/"
+SRC_URI="http://www.alglib.net/translator/re/${P}.cpp.gpl.tgz"
+
+SLOT="0/3.8"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+S="${WORKDIR}"/cpp/
+
+src_prepare() {
+ cp "${FILESDIR}"/CMakeLists.txt-3.8.2 CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=( $(cmake-utils_use_build test) )
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/alglib/alglib-3.8.2-r1.ebuild b/sci-libs/alglib/alglib-3.8.2-r1.ebuild
new file mode 100644
index 000000000000..6e725a2cd3d1
--- /dev/null
+++ b/sci-libs/alglib/alglib-3.8.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Numerical analysis and data processing library"
+HOMEPAGE="http://www.alglib.net/"
+SRC_URI="http://www.alglib.net/translator/re/${P}.cpp.tgz"
+
+SLOT="0/3.7"
+LICENSE="GPL-2+"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+S="${WORKDIR}"/cpp/
+
+src_prepare() {
+ cp "${FILESDIR}"/CMakeLists.txt-${PV} CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=( $(cmake-utils_use_build test) )
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/alglib/files/CMakeLists.txt b/sci-libs/alglib/files/CMakeLists.txt
new file mode 100644
index 000000000000..6455423b0fe9
--- /dev/null
+++ b/sci-libs/alglib/files/CMakeLists.txt
@@ -0,0 +1,32 @@
+project(alglib CXX)
+cmake_minimum_required(VERSION 2.8)
+
+INCLUDE(GNUInstallDirs)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
+SET(VERSION 3.7.0)
+SET(SOVERSION 3.7)
+
+FILE(GLOB ALGLIB_SRC_LIB "src/*.cpp")
+FILE(GLOB ALGLIB_HDR_LIB "src/*.h")
+
+ADD_LIBRARY(alglib SHARED ${ALGLIB_SRC_LIB})
+SET_TARGET_PROPERTIES(alglib PROPERTIES
+ VERSION ${VERSION}
+ SOVERSION ${SOVERSION})
+
+INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
+INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+#===========================================================
+ADD_EXECUTABLE(test_c tests/test_c.cpp)
+TARGET_LINK_LIBRARIES(test_c alglib)
+#INSTALL(TARGETS test_c DESTINATION ${CMAKE_INSTALL_BINDIR}/)
+#===========================================================
+ADD_EXECUTABLE(test_i tests/test_i.cpp)
+TARGET_LINK_LIBRARIES(test_i alglib)
+#INSTALL(TARGETS test_i DESTINATION ${CMAKE_INSTALL_BINDIR}/)
+#===========================================================
+
+enable_testing()
+add_test( test_c ${CMAKE_BUILD_DIR}/test_c)
+add_test( test_i ${CMAKE_BUILD_DIR}/test_i)
diff --git a/sci-libs/alglib/files/CMakeLists.txt-3.8.2 b/sci-libs/alglib/files/CMakeLists.txt-3.8.2
new file mode 100644
index 000000000000..483c63dc7f59
--- /dev/null
+++ b/sci-libs/alglib/files/CMakeLists.txt-3.8.2
@@ -0,0 +1,36 @@
+project(alglib CXX)
+cmake_minimum_required(VERSION 2.8)
+
+INCLUDE(GNUInstallDirs)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
+SET(VERSION 3.8.2)
+SET(SOVERSION 3.8)
+
+option(BUILD_TEST "Build tests" OFF)
+
+FILE(GLOB ALGLIB_SRC_LIB "src/*.cpp")
+FILE(GLOB ALGLIB_HDR_LIB "src/*.h")
+
+ADD_LIBRARY(alglib SHARED ${ALGLIB_SRC_LIB})
+SET_TARGET_PROPERTIES(alglib PROPERTIES
+ VERSION ${VERSION}
+ SOVERSION ${SOVERSION})
+
+INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
+INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+if (BUILD_TEST)
+ #===========================================================
+ ADD_EXECUTABLE(test_c tests/test_c.cpp)
+ TARGET_LINK_LIBRARIES(test_c alglib)
+ #INSTALL(TARGETS test_c DESTINATION ${CMAKE_INSTALL_BINDIR}/)
+ #===========================================================
+ ADD_EXECUTABLE(test_i tests/test_i.cpp)
+ TARGET_LINK_LIBRARIES(test_i alglib)
+ #INSTALL(TARGETS test_i DESTINATION ${CMAKE_INSTALL_BINDIR}/)
+ #===========================================================
+
+ enable_testing()
+endif (BUILD_TEST)
+add_test( test_c ${CMAKE_BUILD_DIR}/test_c)
+add_test( test_i ${CMAKE_BUILD_DIR}/test_i)
diff --git a/sci-libs/alglib/metadata.xml b/sci-libs/alglib/metadata.xml
new file mode 100644
index 000000000000..dc39a23a79e8
--- /dev/null
+++ b/sci-libs/alglib/metadata.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription>
+ALGLIB is a cross-platform numerical analysis and data processing library. It
+supports several programming languages (C++, C#, Pascal, VBA) and several
+operating systems (Windows, Linux, Solaris). ALGLIB features include:
+
+* Linear algebra (direct algorithms, EVD/SVD)
+* Solvers (linear and nonlinear)
+* Interpolation
+* Optimization
+* Fast Fourier transforms
+* Numerical integration
+* Linear and nonlinear least-squares fitting
+* Ordinary differential equations
+* Special functions
+* Statistics (descriptive statistics, hypothesis testing)
+* Data analysis (classification/regression, including neural networks)
+* Multiple precision versions of linear algebra, interpolation optimization and
+* others algorithms (using MPFR for floating point computations)
+
+Why to choose ALGLIB? Because it is:
+
+* portable. It can be compiled almost anywhere using almost any compiler
+(see compatibility matrix for more info).
+* easy to use. It supports many programming languages. If you use one language,
+you don't need to study another (FORTRAN, for example) to compile and link an
+external library.
+* open source. It can be used for free under GPL 2+.
+* suited for commercial users too. Those who want to use ALGLIB in commercial
+applications can buy commercial license without copyleft requirement.
+</longdescription>
+</pkgmetadata>