summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2011-07-25 06:04:27 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2011-07-25 06:04:27 +0000
commit28bafdbb1d47f7f14530c5f6c6de2e09eb7686b4 (patch)
tree7314f12b0a432ddd293967387f7977292bb21353 /sci-electronics/alliance
parentgames-action/openlierox: Patch for curl 7.21.7 (bug #376215) (diff)
downloadgentoo-2-28bafdbb1d47f7f14530c5f6c6de2e09eb7686b4.tar.gz
gentoo-2-28bafdbb1d47f7f14530c5f6c6de2e09eb7686b4.tar.bz2
gentoo-2-28bafdbb1d47f7f14530c5f6c6de2e09eb7686b4.zip
Version bump
(Portage version: 2.1.10.7/cvs/Linux i686)
Diffstat (limited to 'sci-electronics/alliance')
-rw-r--r--sci-electronics/alliance/ChangeLog8
-rw-r--r--sci-electronics/alliance/alliance-5.0.20110203.ebuild62
2 files changed, 69 insertions, 1 deletions
diff --git a/sci-electronics/alliance/ChangeLog b/sci-electronics/alliance/ChangeLog
index 322841723ee4..76e4fe422731 100644
--- a/sci-electronics/alliance/ChangeLog
+++ b/sci-electronics/alliance/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/alliance
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/alliance/ChangeLog,v 1.15 2011/07/19 12:17:34 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/alliance/ChangeLog,v 1.16 2011/07/25 06:04:27 tomjbe Exp $
+
+*alliance-5.0.20110203 (25 Jul 2011)
+
+ 25 Jul 2011; Thomas Beierlein <tomjbe@gentoo.org>
+ +alliance-5.0.20110203.ebuild:
+ Version bump.
19 Jul 2011; Thomas Beierlein <tomjbe@gentoo.org>
alliance-5.0.20070718.ebuild:
diff --git a/sci-electronics/alliance/alliance-5.0.20110203.ebuild b/sci-electronics/alliance/alliance-5.0.20110203.ebuild
new file mode 100644
index 000000000000..1229031f0088
--- /dev/null
+++ b/sci-electronics/alliance/alliance-5.0.20110203.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/alliance/alliance-5.0.20110203.ebuild,v 1.1 2011/07/25 06:04:27 tomjbe Exp $
+
+EAPI=4
+
+inherit versionator flag-o-matic eutils
+
+MY_PV=$(replace_version_separator 2 '-' )
+UPSTREAM_VERSION=$(get_version_component_range 1-2)
+URL="http://www-asim.lip6.fr/pub/alliance/distribution/${UPSTREAM_VERSION}"
+
+DESCRIPTION="Digital IC design tools (simulation, synthesis, place/route, etc...)."
+HOMEPAGE="http://www-asim.lip6.fr/recherche/alliance/"
+SRC_URI="${URL}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/openmotif-2.3:0
+ x11-libs/libXpm
+ x11-libs/libXt"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${UPSTREAM_VERSION}"
+
+src_prepare() {
+ #fix buffer overrun (bug 340789)
+ epatch "${FILESDIR}"/${PN}-${UPSTREAM_VERSION}.20070718-overun.patch
+}
+
+src_configure() {
+ # Fix bug #134285
+ replace-flags -O3 -O2
+
+ # Alliance requires everything to be in the same directory
+ econf \
+ --prefix=/usr/lib/${PN} \
+ --mandir=/usr/lib/${PN}/man \
+ --with-x \
+ --with-motif \
+ --with-xpm \
+ --with-alc-shared
+}
+
+src_compile() {
+ # See bug #134145
+ emake -j1
+}
+
+src_install() {
+ make install DESTDIR="${D}"
+ insinto /etc
+ newins distrib/etc/alc_env.sh alliance.env
+}
+
+pkg_postinst() {
+ elog "Users should source /etc/alliance.env before working with Alliance tools."
+}