summaryrefslogtreecommitdiff
path: root/sci-libs/buddy
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/buddy
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/buddy')
-rw-r--r--sci-libs/buddy/Manifest7
-rw-r--r--sci-libs/buddy/buddy-2.4-r1.ebuild36
-rw-r--r--sci-libs/buddy/files/buddy-2.4-gcc43.patch22
-rw-r--r--sci-libs/buddy/files/buddy-2.4-gold.patch16
-rw-r--r--sci-libs/buddy/metadata.xml17
5 files changed, 98 insertions, 0 deletions
diff --git a/sci-libs/buddy/Manifest b/sci-libs/buddy/Manifest
new file mode 100644
index 000000000000..ff206164825a
--- /dev/null
+++ b/sci-libs/buddy/Manifest
@@ -0,0 +1,7 @@
+AUX buddy-2.4-gcc43.patch 807 SHA256 ea1aace88336f4f10cb214beb3657672eb64f7996af3b4f84fbdbad4d1ccaf26 SHA512 da8069bb467ad1a159036a6d39c8ab5ad75ecf1d69b00b2db8b2de5f279a8cf807fc0f93ae9e0b0b9512d4b33c0889318463e1f34ec10f34415be76ebb1c9a20 WHIRLPOOL 6f92229dca96dc0f1f646d218520c257401d6023b802ffb2d120aebf078cb4c961d9a5fc3813a289ef1ea88f64c5e8b6aef03c3baba2a245e3e9d6f2afb21cfb
+AUX buddy-2.4-gold.patch 596 SHA256 03c0e11c889de894267148f0d10bab150d07e8054a8b11e0f027184b3ad09c83 SHA512 46f8077fc2c10479b083d3b9cda2905baa8c06739e3de47ebf1535b77229a21811f47f33d5de1431ea634e97baa9950496ab46bc69974830f1f13a1c2e2444ee WHIRLPOOL ba63ef0d0c2480d8107f40ee66e43715caf32a7c1e26c2a33788d036171bc8e2090c530d21b0f4cccb321839ad7afa356a2352572c337a1a7a8aa5354429158d
+DIST buddy-2.4.tar.gz 766523 SHA256 d3df80a6a669d9ae408cb46012ff17bd33d855529d20f3a7e563d0d913358836 SHA512 43984969359ac363141ee8a67538ceeae1412efa172432a8355f6ce68ab5ffab12470ad7a2e0d7a6a557b8bf55e98b2f2dc5cc6710466403d45fab2195ba2e23 WHIRLPOOL 448c1eacc61a238083723693abca6f1600198e9ebd420a9b21179d82fd717c697bfe39758bffda1d96e3ace1a160da5cde91094bd67d9d288a632f1d03f2170a
+EBUILD buddy-2.4-r1.ebuild 707 SHA256 9dc1a40a957709aeb2eabf6a3d0c1c9a2dea857773bdabd62be6c496e614728b SHA512 3b1f8f9db8f7946de4b518c7dc62abe0b111cdafca153ac7426ac6dfb5c1f856357bcaf6d7d962d6160960373ab27fd27ceb30a6fa7f131de97d5f8e6590eee7 WHIRLPOOL 504ad17a81723143df50170d824c7857643765913b3fcd91d70a3755a7dd0258bc9d8b06c73c17504aae1d16f2135262b6f3899243ea2947e286d73ae53e5506
+MISC ChangeLog 3137 SHA256 38351a9a6068bc2ff071fdb3947aba8a869adf1081555e4b3894c49de8e74c11 SHA512 a7ad3c61b51a6891ef225480422ee0ff4039c407d1ba1a5cac5e073d84c6da1eff461bf7d0103a8ead22d9e6bbcc7a43cc6f77733975d51029e611f9cf6ea7f5 WHIRLPOOL d7a590032ceb8a5fb84ffcb888746395b20cad6d662ec5c933bbce7ed7a736b3acde522ec5dcaa74e09485974ea4ca3ea087ee38640efd9922e30872a208b81f
+MISC ChangeLog-2015 2433 SHA256 cd9ac6258c525280094fd4aa5b3e3f3a70bd9f5ffdb4f0669674d75717511b0b SHA512 91ef17b013d9bf6976c8c005d92303145d8f38381d195b529a2c5b63386adf1c0d5482fbcc5961a79ea35ed9f11135846f3094fdbb6e64a068fb824c8571fd04 WHIRLPOOL f80552657514b89506611db63d6e43c2fd0e14c07f0a5efb43593d72b85f456a65921431eabf1b0b88c8225c69c7905969b9d3f8fe086782219a8e9a2973e117
+MISC metadata.xml 606 SHA256 dbec072ccda0f4a01013ee83aea0ec7697653f40a4e3e4a47876f2087f7de585 SHA512 b89f749637d1b732bb8bb6ce33d8ca9445e388ee6bf0870e01781a3eec0a8a4bb3fe88c0ed618b0e3a4f2c793655fa3ba3184d84857754782b5c2a777f3f847a WHIRLPOOL 4929655b455a4c1bab5c5af935dc46eda794760e7ee1104379cea341c01daf736e0b7faac9ff11f5aee4c91c75442fa2328069462a74f16b3db4809f95392511
diff --git a/sci-libs/buddy/buddy-2.4-r1.ebuild b/sci-libs/buddy/buddy-2.4-r1.ebuild
new file mode 100644
index 000000000000..c5dfddbbe1e1
--- /dev/null
+++ b/sci-libs/buddy/buddy-2.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit fortran-2
+
+DESCRIPTION="Binary Decision Diagram Package"
+HOMEPAGE="https://sourceforge.net/projects/buddy/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="buddy"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc examples static-libs"
+
+DOCS=( doc/tech.txt )
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gold.patch
+)
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ use doc && docinto ps && dodoc doc/*.ps
+
+ if use examples; then
+ insinto /usr/share/${PN}/
+ doins -r examples
+ fi
+}
diff --git a/sci-libs/buddy/files/buddy-2.4-gcc43.patch b/sci-libs/buddy/files/buddy-2.4-gcc43.patch
new file mode 100644
index 000000000000..c7b9f85688eb
--- /dev/null
+++ b/sci-libs/buddy/files/buddy-2.4-gcc43.patch
@@ -0,0 +1,22 @@
+diff -Naurp buddy-2.4-orig/src/bddtest.cxx buddy-2.4/src/bddtest.cxx
+--- buddy-2.4-orig/src/bddtest.cxx 2004-06-25 07:22:26.000000000 -0600
++++ buddy-2.4/src/bddtest.cxx 2009-02-09 22:14:19.000000000 -0600
+@@ -28,6 +28,7 @@
+ ========================================================================*/
+
+ #include <string>
++#include <cstdlib>
+ #include "bdd.h"
+ #include "bvec.h"
+
+diff -Naurp buddy-2.4-orig/examples/bddcalc/parser_.h buddy-2.4/examples/bddcalc/parser_.h
+--- buddy-2.4-orig/examples/bddcalc/parser_.h 2004-06-25 07:21:43.000000000 -0600
++++ buddy-2.4/examples/bddcalc/parser_.h 2009-02-09 22:21:09.000000000 -0600
+@@ -9,6 +9,7 @@
+ #define _PARSER_H
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "bdd.h"
+
+ #define MAXIDLEN 32 /* Max. number of allowed characters in an identifier */
diff --git a/sci-libs/buddy/files/buddy-2.4-gold.patch b/sci-libs/buddy/files/buddy-2.4-gold.patch
new file mode 100644
index 000000000000..dc30a642141d
--- /dev/null
+++ b/sci-libs/buddy/files/buddy-2.4-gold.patch
@@ -0,0 +1,16 @@
+ examples/cmilner/Makefile.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/examples/cmilner/Makefile.in b/examples/cmilner/Makefile.in
+index 9b49e9d..f7a9b8a 100644
+--- a/examples/cmilner/Makefile.in
++++ b/examples/cmilner/Makefile.in
+@@ -217,7 +217,7 @@ clean-checkPROGRAMS:
+ done
+ cmilner$(EXEEXT): $(cmilner_OBJECTS) $(cmilner_DEPENDENCIES)
+ @rm -f cmilner$(EXEEXT)
+- $(LINK) $(cmilner_LDFLAGS) $(cmilner_OBJECTS) $(cmilner_LDADD) $(LIBS)
++ $(LINK) $(cmilner_LDFLAGS) $(cmilner_OBJECTS) $(cmilner_LDADD) $(LIBS) -lm
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
diff --git a/sci-libs/buddy/metadata.xml b/sci-libs/buddy/metadata.xml
new file mode 100644
index 000000000000..2cbfbe4b7bfa
--- /dev/null
+++ b/sci-libs/buddy/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ <longdescription lang="en">
+ A Binary Decision Diagram library, with :many highly efficient
+ vectorized BDD operations,dynamic variable reordering,automated
+ garbage collection,a C++ interface with automatic reference
+ counting,and much more.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">buddy</remote-id>
+ </upstream>
+</pkgmetadata>