summaryrefslogtreecommitdiff
path: root/sci-libs/libcerf
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/libcerf
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/libcerf')
-rw-r--r--sci-libs/libcerf/Manifest8
-rw-r--r--sci-libs/libcerf/files/libcerf-1.3-autotools.patch70
-rw-r--r--sci-libs/libcerf/libcerf-1.3.ebuild21
-rw-r--r--sci-libs/libcerf/libcerf-1.4.ebuild21
-rw-r--r--sci-libs/libcerf/metadata.xml8
5 files changed, 128 insertions, 0 deletions
diff --git a/sci-libs/libcerf/Manifest b/sci-libs/libcerf/Manifest
new file mode 100644
index 000000000000..d5a87d13189d
--- /dev/null
+++ b/sci-libs/libcerf/Manifest
@@ -0,0 +1,8 @@
+AUX libcerf-1.3-autotools.patch 2758 SHA256 a37050253751c640d8b8a657fdd679268670861eb2aba1b94ca7afb4b5a7dd3c SHA512 f4e99359d9ac5719138108c88f9e1b9f88e986df9e024633ca929a7f09dac826022ac1017f67af55115739d2cf0d4e0de56d751b219c3e4f620948df8cfd74fa WHIRLPOOL d7c48b7d431a7eee2ca1f6b9848054e4bcc72b6adc8cd9fa37765aced6bd34054b186bb8329f8642109a3f3597de4b4b74778ff35f6fdf351a4462866557e0e8
+DIST libcerf-1.3.tgz 385600 SHA256 d7059e923d3f370c89fb4d19ed4f827d381bc3f0e36da5595a04aeaaf3e6a859 SHA512 274fa7f3b149bb27582a54a39fe76b478cd5acc6716dd0588a2f637b77c87a6bbc4f467b52bb067ebad2d1ba18750211cc71c6a6feef75fa08d01ac1dbf5dc56 WHIRLPOOL 6f003e26aa76458da620dc4261cfc3b9ec77882a62e5f1a42ffa83c252ae39399e1244c16ad101ff98469ed59970be04b5f901a418e9681f7657adc76e0698f2
+DIST libcerf-1.4.tgz 386065 SHA256 101265dd1e1b10339adb70b22b60e65ef12c4e01c4a3f52e508562eceef62272 SHA512 93d7b03898c0f88e436947b204db7fb5097dc901928aedde48bf0a04552e1c041fdfcdbe6318fdc21508e1349b6c205f557660550e72d6e86b078d9d0dde0faa WHIRLPOOL c2f3093e7a080dde5252fbd91fb62ff3abccbf2d900cd21c6a54821ec8fbc2e4326d1dd60d838111a9d8853e19088453b886a34415e018dd1b5d276d6a86c5ed
+EBUILD libcerf-1.3.ebuild 645 SHA256 7372e4a9b2d8f1d6ec362dcea07041f6c925cc4cda3cfbf99a35dda30516b103 SHA512 e5e7d05cd77fecd8bc3edcff851487c7f0d13202c6372cf9fe1a24887a118048a8f8cd6894f5288b97d0743e8abc2e500cf8c94ca35e47e244953c0fb498e15c WHIRLPOOL 74800f8c80e81a96111f9e7f37ef063e4f59070861a2990c9e2413f9f55772ab755dfe83b861c034c0a8739eb63daf99fa4fcc58fe3f7fd6c7fc43f5473903d8
+EBUILD libcerf-1.4.ebuild 739 SHA256 69df4c6edccaa58b2e0b20bb2dd1eec06e463abcb00af3ccaee2061f692441a5 SHA512 00526c5fa222f5a6fe48b790060326aab9ce266b58447ee3eb5bd737f7d142a6602016c77c42fd997ef3576d1a0a011ad049aecd7c3de5cd7f0533f10f0d2332 WHIRLPOOL 7244876493d1bf8661d84aa29364c1d046d6bda165e34f501e02bc1e6da174fe08d3fbcc47f229246b97f5b41fba38fabd32a6f6405c11884edc38e0c2326867
+MISC ChangeLog 4393 SHA256 1e4e3ba4bc1fced456ff206716fd2339ef1ed2f15af1448e2ba93b760205791e SHA512 afd8ffc8f7f43e4608a277deebb25bf5bcd34b996b0f07cbe69aff90ed0df64de1e2291df21bca23f7377ddf2d157bd47a703a22cbeaa2535c18f06b4439f2c5 WHIRLPOOL 285d2e0bd99793d64dcc2ce6544549270b85348db6da5f8171c76c4d86c53a6b1b9c89c638f1cf612036ae8b6f0c9235b0f36bae212110047e8b2871b2cda331
+MISC ChangeLog-2015 1219 SHA256 1194cfe16e6f1c05f05e21d967643e11d038af2272de1ed54c8e5c437420eb9e SHA512 1316b17bd660acc95daef3c43bfce772f939c3eef356face596c1a272bad14866f879608f9f3e200ea681c350aa164d5c59cb53c32ac62118bfaf1eee1ff3b1b WHIRLPOOL 8f83d60721aa0ce4826997fea4ba456ac8bad025598c0216d94af2d3991762d390f692000334f21ac786ae2659767cc319b7caf6cbd4af31979026f43497c42f
+MISC metadata.xml 259 SHA256 bbfbeb80ffccffa8e7f837d2c93e994bbe024d565ae3a31d30c6646e80a684c8 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706 WHIRLPOOL 75b8dd1a97dde63f9cc9f73b5951eaf54579460763ef7cbe6f3a9a0739070601d762152ea00df8b476b80e92e5c29b611a494bac5ab747298942530cabe0ee84
diff --git a/sci-libs/libcerf/files/libcerf-1.3-autotools.patch b/sci-libs/libcerf/files/libcerf-1.3-autotools.patch
new file mode 100644
index 000000000000..caa00dd133ed
--- /dev/null
+++ b/sci-libs/libcerf/files/libcerf-1.3-autotools.patch
@@ -0,0 +1,70 @@
+Send upstream (j.wuttke@fz-juelich.de) 14.07.14
+diff -Naur libcerf-1.3.orig/configure.ac libcerf-1.3/configure.ac
+--- libcerf-1.3.orig/configure.ac 2013-07-17 03:49:33.000000000 -0600
++++ libcerf-1.3/configure.ac 2014-07-21 17:01:15.399324021 -0600
+@@ -19,7 +19,7 @@
+ # Website:
+ # http://apps.jcns.fz-juelich.de/libcerf
+
+-AC_INIT([cerf],[1:3],[http://apps.jcns.fz-juelich.de/libcerf])
++AC_INIT([libcerf],[1:3],[http://apps.jcns.fz-juelich.de/libcerf])
+ # version is current:revision:age; for simplicity, we always put age=0
+ # <- http://www.sourceware.org/autobook/autobook/autobook_91.html
+
+@@ -31,7 +31,7 @@
+ LT_INIT([disable-static])
+
+ AC_PROG_CC_C99
+-AC_SUBST(AM_CFLAGS,"-pedantic -Wall -Werror")
++AC_SUBST(AM_CFLAGS,"-pedantic -Wall")
+ AC_CONFIG_HEADERS([config.h]) # to avoid endless -D options
+ AC_HEADER_STDC
+
+diff -Naur libcerf-1.3.orig/libcerf.pc.in libcerf-1.3/libcerf.pc.in
+--- libcerf-1.3.orig/libcerf.pc.in 2013-07-17 03:51:59.000000000 -0600
++++ libcerf-1.3/libcerf.pc.in 2014-07-14 11:18:01.646512503 -0600
+@@ -7,4 +7,5 @@
+ Description: Complex error function library
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lcerf
++Libs.private: -lm
+ Cflags: -I${includedir}
+diff -Naur libcerf-1.3.orig/man/Makefile.am libcerf-1.3/man/Makefile.am
+--- libcerf-1.3.orig/man/Makefile.am 2013-02-01 02:00:14.000000000 -0700
++++ libcerf-1.3/man/Makefile.am 2014-07-14 11:17:36.266182267 -0600
+@@ -19,9 +19,8 @@
+ # Website:
+ # http://apps.jcns.fz-juelich.de/libcerf
+
+-man_MANS = w_of_z.3 im_w_of_x.3 dawson.3 cdawson.3 cerf.3 cerfc.3 erfcx.3 cerfcx.3 erfi.3 cerfi.3 voigt.3
+-auxdir = $(datadir)/man/html
+-aux_DATA = w_of_z.html voigt.html dawson.html cerf.html erfcx.html erfi.html
++man_MANS = w_of_z.3 im_w_of_x.3 dawson.3 cdawson.3 libcerf-cerf.3 cerfc.3 erfcx.3 cerfcx.3 erfi.3 cerfi.3 voigt.3
++html_DATA = w_of_z.html voigt.html dawson.html cerf.html erfcx.html erfi.html
+
+ w_of_z.3 : w_of_z.pod
+ pod2man -s 3 -c "libcerf manual" $< > $@
+@@ -35,7 +34,7 @@
+ cdawson.3 : dawson.pod
+ pod2man -s 3 -c "libcerf manual" $< > $@
+
+-cerf.3 : cerf.pod
++libcerf-cerf.3 : cerf.pod
+ pod2man -s 3 -c "libcerf manual" $< > $@
+
+ cerfc.3 : cerf.pod
+diff -Naur libcerf-1.3.orig/test/Makefile.am libcerf-1.3/test/Makefile.am
+--- libcerf-1.3.orig/test/Makefile.am 2013-07-17 01:45:37.000000000 -0600
++++ libcerf-1.3/test/Makefile.am 2014-07-14 11:16:00.204932368 -0600
+@@ -20,8 +20,10 @@
+ # http://apps.jcns.fz-juelich.de/libcerf
+
+ AM_CFLAGS += -I$(srcdir)/../lib
+-noinst_PROGRAMS = test_libcerf_1 runvoigt run_w_of_z
++noinst_PROGRAMS = runvoigt run_w_of_z
+ test_libcerf_1_SOURCES = test1.c
+ runvoigt_SOURCES = runvoigt.c
+ run_w_of_z_SOURCES = run_w_of_z.c
+ AM_LDFLAGS = -lm -L../lib -lcerf
++check_PROGRAMS = test_libcerf_1
++TESTS = test_libcerf_1
diff --git a/sci-libs/libcerf/libcerf-1.3.ebuild b/sci-libs/libcerf/libcerf-1.3.ebuild
new file mode 100644
index 000000000000..f67d7d57f041
--- /dev/null
+++ b/sci-libs/libcerf/libcerf-1.3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils multilib
+
+DESCRIPTION="library that provides an efficient and accurate implementation of complex error functions"
+HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/libcerf"
+SRC_URI="http://apps.jcns.fz-juelich.de/src/${PN}/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc static-libs test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-autotools.patch" )
+AUTOTOOLS_AUTORECONF=1
diff --git a/sci-libs/libcerf/libcerf-1.4.ebuild b/sci-libs/libcerf/libcerf-1.4.ebuild
new file mode 100644
index 000000000000..670cf094a2f9
--- /dev/null
+++ b/sci-libs/libcerf/libcerf-1.4.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="library that provides an efficient and accurate implementation of complex error functions"
+HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/libcerf"
+SRC_URI="http://apps.jcns.fz-juelich.de/src/${PN}/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc static-libs test"
+
+src_install() {
+ autotools-utils_src_install
+ mv "${ED}"/usr/share/man/man3/{,${PN}-}cerf.3 || die #collision with sys-apps/man-pages
+ use doc || rm "${ED}"/usr/share/doc/${P}/*.html || die
+}
diff --git a/sci-libs/libcerf/metadata.xml b/sci-libs/libcerf/metadata.xml
new file mode 100644
index 000000000000..8425c0d53cb0
--- /dev/null
+++ b/sci-libs/libcerf/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>