Gentoo Archives: gentoo-commits

From: "Denis Dupeyron (calchan)" <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/alliance: ChangeLog alliance-5.0.20070718.ebuild
Date: Sat, 01 Dec 2007 22:31:05
Message-Id: E1IyarR-0000EU-9C@stork.gentoo.org
1 calchan 07/12/01 22:30:57
2
3 Modified: ChangeLog
4 Added: alliance-5.0.20070718.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4_rc4)
8
9 Revision Changes Path
10 1.9 sci-electronics/alliance/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/alliance/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/alliance/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/alliance/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/alliance/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 14 Oct 2006 13:33:40 -0000 1.8
23 +++ ChangeLog 1 Dec 2007 22:30:56 -0000 1.9
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-electronics/alliance
26 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/alliance/ChangeLog,v 1.8 2006/10/14 13:33:40 calchan Exp $
28 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/alliance/ChangeLog,v 1.9 2007/12/01 22:30:56 calchan Exp $
30 +
31 +*alliance-5.0.20070718 (01 Dec 2007)
32 +
33 + 01 Dec 2007; Denis Dupeyron <calchan@g.o>
34 + +alliance-5.0.20070718.ebuild:
35 + Version bump.
36
37 14 Oct 2006; Denis Dupeyron <calchan@g.o>
38 -alliance-5.0.20060329.ebuild:
39
40
41
42 1.1 sci-electronics/alliance/alliance-5.0.20070718.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/alliance/alliance-5.0.20070718.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/alliance/alliance-5.0.20070718.ebuild?rev=1.1&content-type=text/plain
46
47 Index: alliance-5.0.20070718.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/alliance/alliance-5.0.20070718.ebuild,v 1.1 2007/12/01 22:30:56 calchan Exp $
52
53 inherit versionator flag-o-matic rpm
54
55 MY_PV=$(replace_version_separator 2 '-' )
56 UPSTREAM_VERSION=$(get_version_component_range 1-2)
57 URL_AND_NAME="http://www-asim.lip6.fr/pub/alliance/distribution/${UPSTREAM_VERSION}/${PN}"
58 DESCRIPTION="Digital IC design tools (simulation, synthesis, place/route, etc...)."
59 HOMEPAGE="http://www-asim.lip6.fr/recherche/alliance/"
60 SRC_URI="${URL_AND_NAME}-${MY_PV}.tar.gz
61 doc? ( ${URL_AND_NAME}-tutorials-${MY_PV}.i386.rpm )"
62 LICENSE="GPL-2 LGPL-2"
63
64 SLOT="0"
65 KEYWORDS="~x86"
66 IUSE="doc"
67 DEPEND="x11-libs/openmotif"
68 S="${WORKDIR}/${PN}-${UPSTREAM_VERSION}"
69
70 src_unpack() {
71 rpm_src_unpack
72 cd "${S}"
73
74 # Fix compilation issue
75 sed -i -e "s/private: static void operator delete/public: static void operator delete/" nero/src/ADefs.h || die "sed failed"
76 }
77
78 src_compile() {
79 # Fix bug #134285
80 replace-flags -O3 -O2
81
82 # Alliance requires everything to be in the same directory
83 econf \
84 --prefix=/usr/lib/${PN} \
85 --mandir=/usr/lib/${PN}/man \
86 --with-x \
87 --with-motif \
88 --with-xpm \
89 || die "./configure failed"
90
91 # See bug #134145
92 emake -j1 || die "emake failed"
93 }
94
95 src_install() {
96 make install DESTDIR="${D}"
97 insinto /etc
98 newins distrib/etc/alc_env.sh alliance.env
99 if use doc
100 then
101 insinto /usr/share/doc/${PF}
102 doins -r "${WORKDIR}"/opt/${PN}-${UPSTREAM_VERSION}/*
103 fi
104 }
105
106 pkg_postinst() {
107 elog "Users should source /etc/alliance.env before working with Alliance tools."
108 }
109
110
111
112 --
113 gentoo-commits@g.o mailing list