Gentoo Archives: gentoo-commits

From: "Thomas Beierlein (tomjbe)" <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/irsim: metadata.xml ChangeLog irsim-9.7.72.ebuild
Date: Tue, 26 Apr 2011 18:07:39
Message-Id: 20110426180729.9ACEC20054@flycatcher.gentoo.org
1 tomjbe 11/04/26 18:07:29
2
3 Added: metadata.xml ChangeLog irsim-9.7.72.ebuild
4 Log:
5 New ebuild (see bug #241196). Thanks opensource@×××××××××.com for providing the starting point.
6
7 (Portage version: 2.1.9.46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-electronics/irsim/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/irsim/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/irsim/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>sci-electronics</herd>
21 <longdescription>
22 IRSIM is a tool for simulating digital circuits. It is a "switch-level"
23 simulator; that is, it treats transistors as ideal switches. Extracted
24 capacitance and lumped resistance values are used to make the switch a
25 little bit more realistic than the ideal, using the RC time constants
26 to predict the relative timing of events.
27 </longdescription>
28 </pkgmetadata>
29
30
31
32
33 1.1 sci-electronics/irsim/ChangeLog
34
35 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/irsim/ChangeLog?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/irsim/ChangeLog?rev=1.1&content-type=text/plain
37
38 Index: ChangeLog
39 ===================================================================
40 # ChangeLog for sci-electronics/irsim
41 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
42 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/irsim/ChangeLog,v 1.1 2011/04/26 18:07:29 tomjbe Exp $
43
44 *irsim-9.7.72 (26 Apr 2011)
45
46 26 Apr 2011; Thomas Beierlein <tomjbe@g.o> +irsim-9.7.72.ebuild,
47 +files/irsim-9.7.72-ldflags.patch, +metadata.xml:
48 New ebuild (see bug #241196). Thanks opensource@×××××××××.com for providing
49 the starting point.
50
51
52
53
54 1.1 sci-electronics/irsim/irsim-9.7.72.ebuild
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/irsim/irsim-9.7.72.ebuild?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/irsim/irsim-9.7.72.ebuild?rev=1.1&content-type=text/plain
58
59 Index: irsim-9.7.72.ebuild
60 ===================================================================
61 # Copyright 1999-2011 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/irsim/irsim-9.7.72.ebuild,v 1.1 2011/04/26 18:07:29 tomjbe Exp $
64
65 EAPI="2"
66
67 inherit eutils
68
69 DESCRIPTION="IRSIM is a \"switch-level\" simulator"
70 HOMEPAGE="http://opencircuitdesign.com/irsim/"
71 SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz"
72
73 LICENSE="GPL-2"
74 SLOT="0"
75 KEYWORDS="~amd64 ~x86"
76 IUSE=""
77
78 RDEPEND=" dev-lang/tcl
79 dev-lang/tk"
80 DEPEND="${RDEPEND}
81 app-shells/tcsh"
82
83 src_prepare() {
84 sed -i -e "s: -pg : :" tcltk/Makefile || die
85 epatch "${FILESDIR}"/${P}-ldflags.patch
86 }
87
88 src_configure() {
89 # Short-circuit top-level configure script to retain CFLAGS
90 cd scripts
91 CPP="cpp" econf --libdir=/usr/share
92 cd ..
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die
97 dodoc README || die
98 }
99
100 pkg_postinst() {
101 einfo
102 einfo "You will probably need to add to your ~/.Xdefaults"
103 einfo "the following line:"
104 einfo "irsim.background: black"
105 einfo
106 einfo "This is needed because Gentoo from default sets a"
107 einfo "grey background which makes impossible to see the"
108 einfo "simulation (white line on light gray background)."
109 einfo
110 }