diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2006-10-01 20:29:55 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2006-10-01 20:29:55 +0000 |
commit | ce686dc15fc87d15c4a9fc424128fa089a649e30 (patch) | |
tree | 686087e3032396ea7de8abeffeee4e529417abc1 /sci-electronics | |
parent | Fix file collision, bug #149357. (diff) | |
download | gentoo-2-ce686dc15fc87d15c4a9fc424128fa089a649e30.tar.gz gentoo-2-ce686dc15fc87d15c4a9fc424128fa089a649e30.tar.bz2 gentoo-2-ce686dc15fc87d15c4a9fc424128fa089a649e30.zip |
Version bump.
(Portage version: 2.1.2_pre2)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/gtkwave/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/gtkwave/files/digest-gtkwave-3.0.12 | 3 | ||||
-rw-r--r-- | sci-electronics/gtkwave/gtkwave-3.0.12.ebuild | 99 |
3 files changed, 108 insertions, 1 deletions
diff --git a/sci-electronics/gtkwave/ChangeLog b/sci-electronics/gtkwave/ChangeLog index 9337652fdc2b..e3e8939e2a9a 100644 --- a/sci-electronics/gtkwave/ChangeLog +++ b/sci-electronics/gtkwave/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/gtkwave # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.18 2006/09/05 18:21:09 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.19 2006/10/01 20:29:55 calchan Exp $ + +*gtkwave-3.0.12 (01 Oct 2006) + + 01 Oct 2006; Denis Dupeyron <calchan@gentoo.org> +gtkwave-3.0.12.ebuild: + Version bump. 05 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> gtkwave-3.0.5.ebuild: Stable on sparc diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.12 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.12 new file mode 100644 index 000000000000..99dfda14f189 --- /dev/null +++ b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.12 @@ -0,0 +1,3 @@ +MD5 6508795d132dd7efa8a720fd30d86659 gtkwave-3.0.12.tar.gz 2478930 +RMD160 26115545ef8cd1eda77ce70095448f4df72138e0 gtkwave-3.0.12.tar.gz 2478930 +SHA256 ea3238fc1c958341eb9984762aab0c38faae15a0cd8546b9f2f5a2d1aedb2fc9 gtkwave-3.0.12.tar.gz 2478930 diff --git a/sci-electronics/gtkwave/gtkwave-3.0.12.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.12.ebuild new file mode 100644 index 000000000000..09ad7798a708 --- /dev/null +++ b/sci-electronics/gtkwave/gtkwave-3.0.12.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.12.ebuild,v 1.1 2006/10/01 20:29:55 calchan Exp $ + +DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files" +HOMEPAGE="http://home.nc.rr.com/gtkwave/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +IUSE="examples" +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND=">=x11-libs/gtk+-2" + +src_unpack() { + unpack ${A} + cd ${S} + + # Using sed below, because equivalent patch is much bigger + + # configure must not be interactive, force GTK2 + sed -i \ + -e 's:echo "Build GTKWave for GTK+-1.x or 2.x?:# Build for GTK2:' \ + -e 's:read X:X="2":' \ + configure \ + || die "sed failed" + + # Fix command substitution + sed -i \ + -e 's:`pkg-config gtk+-2.0 --libs`:$(shell pkg-config gtk+-2.0 --libs):' \ + -e 's:`pkg-config gtk+-2.0 --cflags`:$(shell pkg-config gtk+-2.0 --cflags):' \ + src/Makefile_GTK2.in \ + contrib/rtlbrowse/Makefile_GTK2.in \ + || die "sed failed" + + # Comply with DESTDIR + sed -i \ + -e 's:$(bindir):$(DESTDIR)/$(bindir):' \ + -e 's:$(mandir):$(DESTDIR)/$(mandir):' \ + Makefile.in \ + || die "sed failed" + + # CFLAGS fixes + sed -i \ + -e 's:CFLAGS = -O2:CFLAGS +=:' \ + src/Makefile_GTK2.in \ + */*/Makefile*.in \ + || die "sed failed" + sed -i \ + -e 's:=$(COPT): +=:' \ + contrib/pccts/*/*/Makefile.in \ + || die "sed failed" + sed -i \ + -e 's:= $(COPT):+=:' \ + contrib/pccts/*/Makefile.in \ + || die "sed failed" + + # LDFLAGS fixes + sed -i \ + -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \ + src/Makefile_GTK2.in \ + || die "sed failed" + sed -i \ + -e 's:LDFLAGS=:LDFLAGS+=:' \ + contrib/rtlbrowse/Makefile_GTK2.in \ + || die "sed failed" + sed -i \ + -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \ + contrib/pccts/*/Makefile.in \ + src/helpers/Makefile.in \ + || die "sed failed" + sed -i \ + -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \ + contrib/vertex/Makefile.in \ + contrib/pccts/sorcerer/Makefile.in \ + contrib/pccts/support/genmk/Makefile.in \ + || die "sed failed" + sed -i \ + -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \ + src/helpers/Makefile.in \ + || die "sed failed" +} + +src_compile() { + econf || die 'Configuration failed' + + # Bug #142871 + emake -j1 || die 'Compilation failed' +} + +src_install() { + emake DESTDIR=${D} install || die "Installation failed" + dodoc ANALOG_README.TXT CHANGELOG.TXT + if use examples ; then + insinto /usr/share/${PF} + doins -r examples + fi +} |