diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-06-22 12:08:52 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-06-22 12:08:52 +0000 |
commit | eefaddd002ba80a03cd93236ee130615d62056ba (patch) | |
tree | 5d82857ac8ee11d5c4725b189b5c875ebc75afcd /sci-libs/alglib | |
parent | sci-libs/alglib: New package, build system taken from Debian, thanks (diff) | |
download | historical-eefaddd002ba80a03cd93236ee130615d62056ba.tar.gz historical-eefaddd002ba80a03cd93236ee130615d62056ba.tar.bz2 historical-eefaddd002ba80a03cd93236ee130615d62056ba.zip |
sci-libs/alglib: New package, build system taken from Debian, thanks
Package-Manager: portage-2.2.0_alpha184/cvs/Linux x86_64
Manifest-Sign-Key: 0x8009D6F070EB7916
Diffstat (limited to 'sci-libs/alglib')
-rw-r--r-- | sci-libs/alglib/Manifest | 14 | ||||
-rw-r--r-- | sci-libs/alglib/alglib-3.7.0.ebuild | 27 | ||||
-rw-r--r-- | sci-libs/alglib/files/CMakeLists.txt | 32 | ||||
-rw-r--r-- | sci-libs/alglib/metadata.xml | 38 |
4 files changed, 109 insertions, 2 deletions
diff --git a/sci-libs/alglib/Manifest b/sci-libs/alglib/Manifest index 389293fdec81..8416d4255ebd 100644 --- a/sci-libs/alglib/Manifest +++ b/sci-libs/alglib/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + AUX CMakeLists.txt 1076 SHA256 362393e6e363e739d9aeac7bebe84fce6848efc954f8dbcebed3d954163c947f SHA512 e5a10fe01c313863e23e9b61eef64e0b08232bf324d50ab6583bbb085cba5722c190bbdfca7bee485c65c8cd7e713300ced4a8feb2cdba0bee07244d5154de25 WHIRLPOOL 5e189008438a4791f278e27b180c557077b5951d617a2c690a0b19c9f900378be454c5aa07d2517ca8bbb7d8d57e01f5adda65f9785b39bd4af4d935823924d3 DIST alglib-3.7.0.cpp.tgz 1518417 SHA256 62100afea6f3e54606031065d28b484ef82b3a96732265a23d8e0f17e34bd36c SHA512 055a292512eb6b5bdb667a2cfb8fda33237b17f1b900ba086e20a541af0f41bc85aef935c1357d780b45f3b1f2e6acddea23f19cdafa25a08f821aa391fec285 WHIRLPOOL 7dce3c5057c2b356b4f361304f2bfa6281671bb1f45204895864db0013ee18127f9cb4a64b311369debdf1adad4b4cb594514a7387adc6f9b9c21ccb4dc549f6 -EBUILD alglib-3.7.0.ebuild 526 SHA256 406cf4e7255ebf84284b1aa9ffe4b5d69c9a9ae2e6290c231ff78d79d91a2e8f SHA512 03abd57209e79a9ba637a3d41ab7dd4374976830782bb3d5bd263b301287eb2e0ef82a6a55f76c4859e68c70305cad18c04ca4003218be8561574bd37a03ecba WHIRLPOOL 52d07e69a3847dd485a78e949968aeb288ebe0d8e96cd41044472527aaa5a2dedb902de399ebfa92d4a011d2498606385f77da23736e7087af4dc04025797efe -MISC ChangeLog 309 SHA256 14b494aa3cc833340e1f5feda0825edb29048a82c6996eb91ceea631e84b160b SHA512 bce34fc80655b2fa9c0a1af1f4f757b4e55330435f25f7c830d71cff3294056ad089f8a081bdac59f5833c38f613ce1cbe41e74b6e3756441b2a73c045582b25 WHIRLPOOL 064aa5916c19b95fb03196955e49bb993f5ea3165e306347010ec458c2d855040c90ece579e03e04391fa2f7c08721401729ebc122d84882fd5162ab6a79641b +EBUILD alglib-3.7.0.ebuild 621 SHA256 a2b57950124196e530c3ec5d555c630136524eac7d668da88781eee9391c820d SHA512 a95be4978036c8210c39f4922cab83fae491026937468389b43b9b34d6170c40897e6d5726474ee1f747fa16e6c3d49261dde1c23c8da124b4d1b6b07a450f56 WHIRLPOOL cb2beb7fa9c40001103f8f22431fc9df33addfc8d3024adc8d62755356362469598271a5a9cff922dd91df56961ed131b590467c3dd3d80745e32076ac815127 +MISC ChangeLog 394 SHA256 7a285d518789a4b9f06320fc22a2ec3d23a8965c0a49478552f9d33ff227593c SHA512 3c90a159633f4fc762ffbee5694378210a1231eda3f2825cf8e76541023f36e1b961853f4228abfc4318b20ec6ae6f4b4f950b9e446c42de495642304d26e013 WHIRLPOOL 543b340b4330a2f0fd4dd5fd90e7cc32bb5a7f12a077d62e4a482b114973b604d86cc34a3e7323ee8cd348ef4a5813fd7e7dce8369dcac12de0d68db3497b21d MISC metadata.xml 1557 SHA256 e2554963c0379fd84eee771de042ec1b418b7ad89c8a8f488fd2ba6d0b8da2f2 SHA512 d5503576f4579f8235bf3b3872a4acb006b0143a37151b57808c33a2bd81287b54488567c0c6ac1ffbdbab05dcc04854ff5f4ce63cc78d874bac85fb0789f626 WHIRLPOOL 73189c271862b2e267cf4f3e414fbb96fe119f0b1e0b284a878f02428a5e212f06249e347d48070b07d6f955e95e117d2982bc75af5838ab586169e0cb0c2ae1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iEYEAREKAAYFAlHFk9QACgkQgAnW8HDreRYd+gCgq+gW+/Ext07IAniHW9q899Dm +VgkAoJ2nGc/7N04TMtunx7ZH+0PBRpw5 +=71sr +-----END PGP SIGNATURE----- diff --git a/sci-libs/alglib/alglib-3.7.0.ebuild b/sci-libs/alglib/alglib-3.7.0.ebuild new file mode 100644 index 000000000000..9eec1a7abd76 --- /dev/null +++ b/sci-libs/alglib/alglib-3.7.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/alglib/alglib-3.7.0.ebuild,v 1.1 2013/06/22 12:08:51 jlec Exp $ + +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" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} +" + +S="${WORKDIR}"/cpp/ + +src_prepare() { + cp "${FILESDIR}"/CMakeLists.txt . || die + cmake-utils_src_prepare +} 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/metadata.xml b/sci-libs/alglib/metadata.xml new file mode 100644 index 000000000000..8fa350bffef2 --- /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> + <herd>sci</herd> + <maintainer> + <email>jlec@gentoo.org</email> + </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> |