/[gentoo-x86]/sci-electronics/irsim/irsim-9.7.74.ebuild
Gentoo

Contents of /sci-electronics/irsim/irsim-9.7.74.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jun 13 13:07:01 2012 UTC (2 years, 3 months ago) by xmw
Branch: MAIN
Version bump (thanks euscan)

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/irsim/irsim-9.7.72.ebuild,v 1.1 2011/04/26 18:07:29 tomjbe Exp $
4
5 EAPI="2"
6
7 inherit eutils
8
9 DESCRIPTION="IRSIM is a \"switch-level\" simulator"
10 HOMEPAGE="http://opencircuitdesign.com/irsim/"
11 SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND="dev-lang/tcl
19 dev-lang/tk"
20 DEPEND="${RDEPEND}
21 app-shells/tcsh"
22
23 src_prepare() {
24 sed -i -e "s: -pg : :" tcltk/Makefile || die
25 epatch "${FILESDIR}"/${PN}-9.7.72-ldflags.patch
26 }
27
28 src_configure() {
29 # Short-circuit top-level configure script to retain CFLAGS
30 cd scripts
31 CPP="cpp" econf --libdir=/usr/share
32 cd ..
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die
37 dodoc README || die
38 }
39
40 pkg_postinst() {
41 einfo
42 einfo "You will probably need to add to your ~/.Xdefaults"
43 einfo "the following line:"
44 einfo "irsim.background: black"
45 einfo
46 einfo "This is needed because Gentoo from default sets a"
47 einfo "grey background which makes impossible to see the"
48 einfo "simulation (white line on light gray background)."
49 einfo
50 }

  ViewVC Help
Powered by ViewVC 1.1.20