diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-02-04 18:29:22 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-02-04 18:29:22 +0000 |
commit | e1aaa613a6999ee8ce061827b6bc85ed4015392f (patch) | |
tree | aa59bc60d5efeccf492968487a1a7d00a471fe48 /sci-electronics/gtkwave | |
parent | amd64 stable, bug 151429 (diff) | |
download | gentoo-2-e1aaa613a6999ee8ce061827b6bc85ed4015392f.tar.gz gentoo-2-e1aaa613a6999ee8ce061827b6bc85ed4015392f.tar.bz2 gentoo-2-e1aaa613a6999ee8ce061827b6bc85ed4015392f.zip |
Version bump.
(Portage version: 2.1.2-r5)
Diffstat (limited to 'sci-electronics/gtkwave')
-rw-r--r-- | sci-electronics/gtkwave/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 | 6 | ||||
-rw-r--r-- | sci-electronics/gtkwave/gtkwave-3.0.21.ebuild | 105 |
3 files changed, 117 insertions, 1 deletions
diff --git a/sci-electronics/gtkwave/ChangeLog b/sci-electronics/gtkwave/ChangeLog index e220b42ac46b..e0c332f74ce0 100644 --- a/sci-electronics/gtkwave/ChangeLog +++ b/sci-electronics/gtkwave/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/gtkwave # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.23 2007/01/28 14:06:59 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.24 2007/02/04 18:29:22 calchan Exp $ + +*gtkwave-3.0.21 (04 Feb 2007) + + 04 Feb 2007; Denis Dupeyron <calchan@gentoo.org> +gtkwave-3.0.21.ebuild: + Version bump. 28 Jan 2007; Denis Dupeyron <calchan@gentoo.org> gtkwave-3.0.5.ebuild, gtkwave-3.0.13.ebuild: diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 new file mode 100644 index 000000000000..bb4b3a02ca32 --- /dev/null +++ b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.21 @@ -0,0 +1,6 @@ +MD5 2fc49079acf649e081de1487a8cc6beb gtkwave-3.0.21.tar.gz 2502119 +RMD160 e6100f346aded1c47afe0856613399f419495101 gtkwave-3.0.21.tar.gz 2502119 +SHA256 0058a134e113cfef1e245fe6539ebda6cd12e3706efdd1c36780da35f09adadc gtkwave-3.0.21.tar.gz 2502119 +MD5 fb72b39a388900bef3f106427bce1e1b gtkwave-doc-3.0.21.bz2 1185632 +RMD160 16a4f5d0fd4c2ca220c30d85ad61b32601528e77 gtkwave-doc-3.0.21.bz2 1185632 +SHA256 9c4d6ded84e68cc7e477cd5f8aa545971b69f7f5b74a06a52a840cc075e8e504 gtkwave-doc-3.0.21.bz2 1185632 diff --git a/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild new file mode 100644 index 000000000000..3022de1a76d9 --- /dev/null +++ b/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.21.ebuild,v 1.1 2007/02/04 18:29:22 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 + doc? ( mirror://gentoo/${PN}-doc-${PV}.bz2 )" + +IUSE="doc examples" +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND=">=x11-libs/gtk+-2 + dev-util/pkgconfig" + +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 doc ; then + insinto /usr/share/doc/${PF} + newins "${WORKDIR}/${PN}-doc-${PV}" ${PN}.pdf + fi + if use examples ; then + insinto /usr/share/${PF} + doins -r examples + fi +} |