summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/libcerf
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/libcerf')
-rw-r--r--sci-libs/libcerf/Manifest2
-rw-r--r--sci-libs/libcerf/files/libcerf-1.3-autotools.patch70
-rw-r--r--sci-libs/libcerf/libcerf-1.3.ebuild22
-rw-r--r--sci-libs/libcerf/libcerf-1.4.ebuild22
-rw-r--r--sci-libs/libcerf/metadata.xml5
5 files changed, 121 insertions, 0 deletions
diff --git a/sci-libs/libcerf/Manifest b/sci-libs/libcerf/Manifest
new file mode 100644
index 000000000000..5c0fb6b21ec0
--- /dev/null
+++ b/sci-libs/libcerf/Manifest
@@ -0,0 +1,2 @@
+DIST libcerf-1.3.tgz 385600 SHA256 d7059e923d3f370c89fb4d19ed4f827d381bc3f0e36da5595a04aeaaf3e6a859 SHA512 274fa7f3b149bb27582a54a39fe76b478cd5acc6716dd0588a2f637b77c87a6bbc4f467b52bb067ebad2d1ba18750211cc71c6a6feef75fa08d01ac1dbf5dc56 WHIRLPOOL 6f003e26aa76458da620dc4261cfc3b9ec77882a62e5f1a42ffa83c252ae39399e1244c16ad101ff98469ed59970be04b5f901a418e9681f7657adc76e0698f2
+DIST libcerf-1.4.tgz 386065 SHA256 101265dd1e1b10339adb70b22b60e65ef12c4e01c4a3f52e508562eceef62272 SHA512 93d7b03898c0f88e436947b204db7fb5097dc901928aedde48bf0a04552e1c041fdfcdbe6318fdc21508e1349b6c205f557660550e72d6e86b078d9d0dde0faa WHIRLPOOL c2f3093e7a080dde5252fbd91fb62ff3abccbf2d900cd21c6a54821ec8fbc2e4326d1dd60d838111a9d8853e19088453b886a34415e018dd1b5d276d6a86c5ed
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..f0702f29a64e
--- /dev/null
+++ b/sci-libs/libcerf/libcerf-1.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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..dd6ad9ccbc6b
--- /dev/null
+++ b/sci-libs/libcerf/libcerf-1.4.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~hppa ~ppc ~ppc64 ~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..897aa2e6b59a
--- /dev/null
+++ b/sci-libs/libcerf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+</pkgmetadata>