commit:     6bdd5e10078a09837a554912f3879403f13349d6
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Feb 20 23:08:08 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 23:08:08 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6bdd5e10

sci-libs/symmetrica: Apply patches; Raise revision

Package-Manager: portage-2.2.14

---
 sci-libs/symmetrica/ChangeLog                |  9 +++++--
 sci-libs/symmetrica/symmetrica-2.0-r1.ebuild | 40 ++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/sci-libs/symmetrica/ChangeLog b/sci-libs/symmetrica/ChangeLog
index 60e980d..2796864 100644
--- a/sci-libs/symmetrica/ChangeLog
+++ b/sci-libs/symmetrica/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sci-libs/symmetrica
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*symmetrica-2.0-r1 (20 Feb 2015)
+
+  20 Feb 2015; Marius Brehler <[email protected]>
+  +symmetrica-2.0-r1.ebuild:
+  sci-libs/symmetrica: Apply patches; Raise revision
+
   11 Jan 2015; Marius Brehler <[email protected]>
   symmetrica-2.0.ebuild:
   Move to EAPI=5 and clean the ebuild
@@ -19,4 +25,3 @@
 
   18 Jul 2008; Francois Bissey <[email protected]> ChangeLog:
   Initial import, see bug #232014
-

diff --git a/sci-libs/symmetrica/symmetrica-2.0-r1.ebuild 
b/sci-libs/symmetrica/symmetrica-2.0-r1.ebuild
new file mode 100644
index 0000000..79207b2
--- /dev/null
+++ b/sci-libs/symmetrica/symmetrica-2.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit base
+
+DESCRIPTION="A collection of routine to handle a variety of topics"
+HOMEPAGE="http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/index.html";
+MY_P=SYM${PV//./_}
+SRC_URI="http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/${MY_P}_tar.gz
 -> ${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
+IUSE="doc"
+
+S="${WORKDIR}"
+
+PATCHES=(
+       "${FILESDIR}/${P}-banner.patch"
+       "${FILESDIR}/${P}-freeing_errors.patch"
+       "${FILESDIR}/${P}-function_names.patch"
+       "${FILESDIR}/${P}-integersize.patch"
+)
+
+src_prepare() {
+       base_src_prepare
+       # symmetrica by itself is just a bunch of files and a few headers
+       # plus documentation that you can use as you wish in your programs.
+       # For sage and ease of use we make it into a library with the following
+       # makefile (developped by F. Bissey and T. Abbott (sage on debian).
+       cp "${FILESDIR}/makefile" "${S}/makefile" || die
+}
+
+src_install() {
+       default
+       use doc && dodoc *.doc
+}

Reply via email to