diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/ta-lib |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/ta-lib')
-rw-r--r-- | sci-libs/ta-lib/Manifest | 6 | ||||
-rw-r--r-- | sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch | 83 | ||||
-rw-r--r-- | sci-libs/ta-lib/metadata.xml | 8 | ||||
-rw-r--r-- | sci-libs/ta-lib/ta-lib-0.4.0.ebuild | 28 |
4 files changed, 125 insertions, 0 deletions
diff --git a/sci-libs/ta-lib/Manifest b/sci-libs/ta-lib/Manifest new file mode 100644 index 000000000000..d8357205522e --- /dev/null +++ b/sci-libs/ta-lib/Manifest @@ -0,0 +1,6 @@ +AUX ta-lib-0.4.0-asneeded.patch 3304 SHA256 ec37136e33dfecec74ba89759b77bb45bfdabe5ea1514a3f8875da80a9120d16 SHA512 aa43a9cd5382eb43cce2dd64325a36fd88bdae7969c3c191ddbbc7ed726145d7cd1cca17196093c7b4af63a95d3a118d6f2e93ff5d021105091056a325042123 WHIRLPOOL 7d8a46da426f376e2a909efcd34bbe76c8e1d6d4b1dac00007b2b662eab4755fef676b7e095177b2b3ca9c9782dae66415b9cfbf6fa4157bf2cb2dd5fd261dff +DIST ta-lib-0.4.0-src.tar.gz 1330299 SHA256 9ff41efcb1c011a4b4b6dfc91610b06e39b1d7973ed5d4dee55029a0ac4dc651 SHA512 d7ae2acd830cd23b58bded8a90759edfabc73923fbed3cc09501c121cc937caf728c29678f456c2dc7e72fabb52166bccc19ab51ab1131c7d8d35c201c94ed4c WHIRLPOOL e939c2f758502b6056e61d7bbd248a10ed7cfe17ff1766ba0bf77270a9a54c0411da1f15f23b4f82a253a54745286a5f36e5867c725033b5f210feb7dd4a1c72 +EBUILD ta-lib-0.4.0.ebuild 661 SHA256 39f18cdc8f92952973f437ce617368a6f6d3643e1fdc442775bcbb3f09a179af SHA512 018cc046768f40cdc719c494168abb7379da2d4b7b0f4abc3d14ad0003d4a50358a5bc9baf40497e6a6a3e28031db09f1372deeb4af02cc98777bf0c79852a27 WHIRLPOOL 1282033b660e9a63d4341fa019e1a83fd7eb322607e769629c6ec9101912233ae3c9304d0adf04fa7f8e00657469afd6187cc03f03700a6e64f42a058a5388e6 +MISC ChangeLog 2555 SHA256 76c241e056572347b09c93527d854b4031ece799fd81ff09ae0b13d7caa4cace SHA512 b2759dd9fc748d6f3cb17e6a9eb82b2107af2cef30d861e5db8cf69d59304a62764125e6451bb2f1674a43523e2771135f59cb61e9d1b93870fa7332e92766dd WHIRLPOOL 9b259b5dcdbd86fdb8935734dc72ce26fca740e157aa7a498ff14fd63c91f925fab99c4e2bafe814c3fe5ddc3b3b5602f56b49c56b6a9b7853afcc5f7ee6b25d +MISC ChangeLog-2015 1433 SHA256 02f6f9e8ec933c5e44cd8a0bbbbc5b1f2a7035ca33151d2e33542359503275b1 SHA512 d44ace198f71ef08b00a5118226fc56c06c2808e695eb363d13ff988a4e9e91cf44a03017821733b8ffa0c8b4cf7405884d39fe86e525d304a8a229bcc816aff WHIRLPOOL 0d5287ef5a1e89c72a046c93fc6b9063c41b602b7010d380cdd6b1a3f20a3a1208a9fc22dff0cbbaacbd2ad62cb8168fc248fd62c085d8090a9168d63565ccbe +MISC metadata.xml 243 SHA256 c10b11196a9b4adc5b802d68627bcbac0a97e65551413892dfe3b37726e0a244 SHA512 7ce6628e1ef9623673a4981aaaca3a1a3e9f030b6826929de1307bc1ea6d18b31bb5f14e8aefa60a6ecf34c874b4cb18ba8d64e869e151cf750b79e76e394bcf WHIRLPOOL a1ad51bb2a7ebabce86ea08039a05e6ea954cbe5fd287b3c9f5e5032caa7418a4cf0046c7bbafe513b7df74734e9f092ccdacd08892cd2f3ece62c44043aeb85 diff --git a/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch new file mode 100644 index 000000000000..10183938e667 --- /dev/null +++ b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch @@ -0,0 +1,83 @@ + src/Makefile.am | 2 +- + src/Makefile.in | 2 +- + src/ta_abstract/Makefile.am | 8 ++++---- + src/ta_common/Makefile.am | 6 +++--- + src/ta_func/Makefile.am | 6 +++--- + 5 files changed, 12 insertions(+), 12 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 12bc5b6..b1a0c6b 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -8,7 +8,7 @@ libta_lib_la_SOURCES = + libta_lib_la_LIBADD = \ + ta_abstract/libta_abstract.la \ + ta_func/libta_func.la \ +- ta_common/libta_common.la ++ ta_common/libta_common.la -lm + + libta_lib_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + +diff --git a/src/Makefile.in b/src/Makefile.in +index 489b44a..ef1f506 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -56,7 +56,7 @@ am_libta_lib_la_OBJECTS = + libta_lib_la_OBJECTS = $(am_libta_lib_la_OBJECTS) + libta_lib_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(libta_lib_la_LDFLAGS) $(LDFLAGS) -o $@ ++ $(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@ + DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@ + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +diff --git a/src/ta_abstract/Makefile.am b/src/ta_abstract/Makefile.am +index cba69bb..4411234 100644 +--- a/src/ta_abstract/Makefile.am ++++ b/src/ta_abstract/Makefile.am +@@ -38,12 +38,12 @@ libta_abstract_gc_la_SOURCES = $(libta_abstract_la_SOURCES) + libta_abstract_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + libta_abstract_gc_la_LDFLAGS = $(libta_abstract_la_LDFLAGS) + +-libta_abstract_la_CPPFLAGS = -I../ta_common/ -Iframes/ ++libta_abstract_la_CPPFLAGS = -I$(top_srcdir)/src/ta_common/ -Iframes/ + + # The 'gc' version is a minimal version used to just to compile gen_code + libta_abstract_gc_la_CPPFLAGS = -DTA_GEN_CODE $(libta_abstract_la_CPPFLAGS) + + libta_abstractdir=$(includedir)/ta-lib/ +-libta_abstract_HEADERS = ../../include/ta_defs.h \ +- ../../include/ta_libc.h \ +- ../../include/ta_abstract.h ++libta_abstract_HEADERS = $(top_srcdir)/include/ta_defs.h \ ++ $(top_srcdir)/include/ta_libc.h \ ++ $(top_srcdir)/include/ta_abstract.h +diff --git a/src/ta_common/Makefile.am b/src/ta_common/Makefile.am +index 9454490..3e59bd8 100644 +--- a/src/ta_common/Makefile.am ++++ b/src/ta_common/Makefile.am +@@ -9,7 +9,7 @@ libta_common_la_SOURCES = ta_global.c \ + libta_common_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + + libta_commondir=$(includedir)/ta-lib/ +-libta_common_HEADERS = ../../include/ta_defs.h \ +- ../../include/ta_libc.h \ +- ../../include/ta_common.h ++libta_common_HEADERS = $(top_builddir)/include/ta_defs.h \ ++ $(top_builddir)/include/ta_libc.h \ ++ $(top_builddir)/include/ta_common.h + +diff --git a/src/ta_func/Makefile.am b/src/ta_func/Makefile.am +index 030a516..299baf9 100644 +--- a/src/ta_func/Makefile.am ++++ b/src/ta_func/Makefile.am +@@ -165,6 +165,6 @@ libta_func_la_SOURCES = ta_utility.c \ + libta_func_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + + libta_funcdir=$(includedir)/ta-lib/ +-libta_func_HEADERS = ../../include/ta_defs.h \ +- ../../include/ta_libc.h \ +- ../../include/ta_func.h ++libta_func_HEADERS = $(top_builddir)/include/ta_defs.h \ ++ $(top_builddir)/include/ta_libc.h \ ++ $(top_builddir)/include/ta_func.h diff --git a/sci-libs/ta-lib/metadata.xml b/sci-libs/ta-lib/metadata.xml new file mode 100644 index 000000000000..75af09f93bb4 --- /dev/null +++ b/sci-libs/ta-lib/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">ta-lib</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild new file mode 100644 index 000000000000..99cb7258bb33 --- /dev/null +++ b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils + +DESCRIPTION="Technical Analysis Library for analyzing financial markets trends" +HOMEPAGE="http://www.ta-lib.org/" +SRC_URI="mirror://sourceforge/ta-lib/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +S="${WORKDIR}"/${PN} + +PATCHES=( "${FILESDIR}"/${P}-asneeded.patch ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_test() { + ewarn "Note: this testsuite will fail without an active internet connection." + "${S}"/src/tools/ta_regtest/ta_regtest || die "Failed testsuite." +} |