summaryrefslogtreecommitdiff
path: root/sci-libs/tamu_anova
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/tamu_anova')
-rw-r--r--sci-libs/tamu_anova/Manifest7
-rw-r--r--sci-libs/tamu_anova/files/0.2.1-gentoo.patch35
-rw-r--r--sci-libs/tamu_anova/files/tamu_anova-0.2.1-texinfo5.1.patch39
-rw-r--r--sci-libs/tamu_anova/metadata.xml8
-rw-r--r--sci-libs/tamu_anova/tamu_anova-0.2.1.ebuild27
5 files changed, 116 insertions, 0 deletions
diff --git a/sci-libs/tamu_anova/Manifest b/sci-libs/tamu_anova/Manifest
new file mode 100644
index 000000000000..6e8c3b0036f9
--- /dev/null
+++ b/sci-libs/tamu_anova/Manifest
@@ -0,0 +1,7 @@
+AUX 0.2.1-gentoo.patch 913 SHA256 74ddea2e1aa8c7e6bb8bf4719a7e5ba9a74e8ad763663b9941b52c9f012c4f57 SHA512 898ce24ac70b51d865f5e304c17fd663c254c971dea144cf9a1eccce7e6b75e5e60a84dd0e653915aa52e87dcf1687efed542a3b11aff27287ce3efe2ce0b81b WHIRLPOOL de32042743d27c9d591bbbbb068e09f99bfba734f81d1ddebc6fac9ccf65c621fa1ff4ea6dc2b656e368191bccd123ebbe13e653e790d95dd4632a31a3801b13
+AUX tamu_anova-0.2.1-texinfo5.1.patch 1414 SHA256 4be5f9cdc9fd4ae408e51d56e4620672326c49c91cd14af6f55a20d2531b18bf SHA512 f221b19b238f6df374a3d256c7ab594c7e00f0c3c2959c88eeeb8ff1bc8dd7cb22ba60b3a0456f2da834242129a688b2feff781668ec920dff5779d31c31faa7 WHIRLPOOL e02e5868d51016f541f965919f946ab8dd7f22e2fd0c7125d5f574cf8836037a79bf72575b8816a6ffa51f7c1522a73b1c658eb1c3f0edd4591f22b0745b391f
+DIST tamu_anova-0.2.1.tar.gz 220803 SHA256 2583bd33bb9243709a5f44ad07677a8362bcca8816bd19f452eb4e3e375c213a SHA512 e4e65997d8ca57b5ad1c0001abbe41652fa86f8b8e9e00aa53d8079062e028baee67436408997d96d87c85801c48e1c87f40dfe291d387cd94dcefd61a52c477 WHIRLPOOL 56367f9fb331ff4502850ecafa99b331f8298859aa7dbf5a30c5d7ddbc5a900692c2fd454493de5601f60f0b9545c3c3fed04869e85667859cc84ba1fa8e345e
+EBUILD tamu_anova-0.2.1.ebuild 611 SHA256 b501c4ab37c80b5b5dfbad48e78872a01280fc723e0e2f31d23807af5636e827 SHA512 d0b9ed81a39abfbaac75c3be51eed156c3e5fc7305047cd915a043e294a20e006726ead448299c0fbd6de299655ba686df8b5f9dcc6e7e6fd9feb221c9dec5bd WHIRLPOOL 461a7e574a8b4a14c91ea8c556855857cacd015f4e87a65a09d052f802144cb9b1a817c2daeaa938d605f5372054a3ad64d1ef33b41cdf5ac81dd15136601800
+MISC ChangeLog 2647 SHA256 77f17a98639bad5ee93c5384ce5a6585ddc5c71a4931e3aa4b9ff695b9eae0b4 SHA512 68e739c22511ec1922731e33751a7e7b6e6bf8f7e2aae1b098137c3bc1d9e46dd1a7c17956fa4fd4825f617d88b13f959436e5febdf1e09f4f223a7ba70c84c9 WHIRLPOOL e1227e96bafb99a1a97128342db8ebcf1417700b2bff50fdc388c8e05893bbfbfaa2f7f941f90f6dfa864b5d8ff61041ca7ff1db5e3288b3d69be34b212ebf54
+MISC ChangeLog-2015 912 SHA256 6901d00a47fc83fdb6122c12a6adf21661bae13d433918e799a95b9ed7bb093d SHA512 bf34873f2489e07259d4176f7becdaa609c58a6ffe58257924000aa39cd7779ca774d7afdcc30467131ef0b09fcb25322217615d393aac4abce84283dfc1d4f3 WHIRLPOOL 18dae3dff3ac27f7e5369b9e4cad1e07ab783055834aead888a2efd0786b5b454820011d65a3ceb453e03795c1bf8485627dd353376d851823769dcb5a1a75dc
+MISC metadata.xml 259 SHA256 bbfbeb80ffccffa8e7f837d2c93e994bbe024d565ae3a31d30c6646e80a684c8 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706 WHIRLPOOL 75b8dd1a97dde63f9cc9f73b5951eaf54579460763ef7cbe6f3a9a0739070601d762152ea00df8b476b80e92e5c29b611a494bac5ab747298942530cabe0ee84
diff --git a/sci-libs/tamu_anova/files/0.2.1-gentoo.patch b/sci-libs/tamu_anova/files/0.2.1-gentoo.patch
new file mode 100644
index 000000000000..4d4c1f4a0af1
--- /dev/null
+++ b/sci-libs/tamu_anova/files/0.2.1-gentoo.patch
@@ -0,0 +1,35 @@
+diff --git a/Makefile.am b/Makefile.am
+index 6b11b79..ba5fac3 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,11 +1,11 @@
+-inst_LIBRARIES = libtamuanova.a
++lib_LTLIBRARIES = libtamuanova.la
+ pkginclude_HEADERS = tamu_anova.h
+-libtamuanova_a_SOURCES = anova_1.c anova_2.c
+-instdir = /usr/lib/
++libtamuanova_la_SOURCES = anova_1.c anova_2.c
++libtamuanova_la_LIBADD = $(GSL_LIBS)
+
+ TESTS = $(check_PROGRAMS)
+ check_PROGRAMS = test
+-test_LDADD = libtamuanova.a -lgsl -lgslcblas -lm
++test_LDADD = libtamuanova.la $(GSL_LIBS) -lm
+ test_SOURCES = test.c
+
+ CLEANFILES = test.dat
+diff --git a/configure.ac b/configure.ac
+index 7008594..1f161c3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,6 +7,10 @@ AM_INIT_AUTOMAKE([gnu no-dependencies])
+ AC_CONFIG_HEADER([config.h])
+
+ AC_PROG_MAKE_SET
++AC_PROG_LIBTOOL
++PKG_PROG_PKG_CONFIG
++
++PKG_CHECK_MODULES(GSL, [ gsl ])
+
+ dnl Check for which system.
+ AC_CANONICAL_HOST
diff --git a/sci-libs/tamu_anova/files/tamu_anova-0.2.1-texinfo5.1.patch b/sci-libs/tamu_anova/files/tamu_anova-0.2.1-texinfo5.1.patch
new file mode 100644
index 000000000000..f0c0570fc46d
--- /dev/null
+++ b/sci-libs/tamu_anova/files/tamu_anova-0.2.1-texinfo5.1.patch
@@ -0,0 +1,39 @@
+ fdl.texi | 2 +-
+ tamu_anova.texi | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/fdl.texi b/fdl.texi
+index 006dec7..6d8114a 100644
+--- a/fdl.texi
++++ b/fdl.texi
+@@ -403,7 +403,7 @@ number of this License, you may choose any version ever published (not
+ as a draft) by the Free Software Foundation.
+ @end enumerate
+
+-@unnumberedsubsec ADDENDUM: How to use this License for your documents
++@unnumberedsec ADDENDUM: How to use this License for your documents
+
+ To use this License in a document you have written, include a copy of
+ the License in the document and put the following copyright and
+diff --git a/tamu_anova.texi b/tamu_anova.texi
+index 8d4cd5b..5fba0e5 100644
+--- a/tamu_anova.texi
++++ b/tamu_anova.texi
+@@ -177,7 +177,7 @@ that the first effect is the fixed effect, while the second effect is the random
+ @section Structures
+ @b{One way table}
+
+-@deftypefn {struct tamu_anova_table}
++@deftypefn {Structures} struct tamu_anova_table
+ @code{struct tamu_anova_table@{
+ long df_tr, df_err, df_tot;
+ double SSTr, SSE, SST, MSTr, MSE, F, p;@};
+@@ -185,7 +185,7 @@ that the first effect is the fixed effect, while the second effect is the random
+ @end deftypefn
+ @*
+ @b{Two way table}
+-@deftypefn {struct tamu_anova_table_twoway}
++@deftypefn {Structures} struct tamu_anova_table_twoway
+ @code{struct tamu_anova_table_twoway @{
+ long
+ dfA, dfB, dfAB, dfT, dfE;
diff --git a/sci-libs/tamu_anova/metadata.xml b/sci-libs/tamu_anova/metadata.xml
new file mode 100644
index 000000000000..8425c0d53cb0
--- /dev/null
+++ b/sci-libs/tamu_anova/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 type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-libs/tamu_anova/tamu_anova-0.2.1.ebuild b/sci-libs/tamu_anova/tamu_anova-0.2.1.ebuild
new file mode 100644
index 000000000000..5ae7872d14fe
--- /dev/null
+++ b/sci-libs/tamu_anova/tamu_anova-0.2.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils
+
+DESCRIPTION="ANOVA Extensions to the GNU Scientific Library"
+HOMEPAGE="http://www.stat.tamu.edu/~aredd/tamuanova/"
+SRC_URI="http://www.stat.tamu.edu/~aredd/tamuanova/${PN}-0.2.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+IUSE="static-libs"
+
+RDEPEND="sci-libs/gsl"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${PN}-0.2
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-gentoo.patch
+ "${FILESDIR}"/${P}-texinfo5.1.patch
+ )