summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-12-22 23:02:19 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-12-22 23:02:19 +0000
commit7f29e6ebd500920b463a16d4a67893c600859163 (patch)
treef87d6c6d44b827bab822c663d69fc4ced57155e2 /sci-electronics
parentchange numbering scheme (diff)
downloadgentoo-2-7f29e6ebd500920b463a16d4a67893c600859163.tar.gz
gentoo-2-7f29e6ebd500920b463a16d4a67893c600859163.tar.bz2
gentoo-2-7f29e6ebd500920b463a16d4a67893c600859163.zip
Remove obsolete 2.5.5; add 3.4.10.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/xcircuit/ChangeLog8
-rw-r--r--sci-electronics/xcircuit/files/digest-xcircuit-2.5.51
-rw-r--r--sci-electronics/xcircuit/files/digest-xcircuit-3.4.101
-rw-r--r--sci-electronics/xcircuit/xcircuit-2.5.5.ebuild33
-rw-r--r--sci-electronics/xcircuit/xcircuit-3.4.10.ebuild47
5 files changed, 55 insertions, 35 deletions
diff --git a/sci-electronics/xcircuit/ChangeLog b/sci-electronics/xcircuit/ChangeLog
index 376489ff13ea..07ab2813775c 100644
--- a/sci-electronics/xcircuit/ChangeLog
+++ b/sci-electronics/xcircuit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/xcircuit
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/ChangeLog,v 1.5 2005/04/14 15:22:17 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/ChangeLog,v 1.6 2005/12/22 23:02:19 plasmaroo Exp $
+
+*xcircuit-3.4.10 (22 Dec 2005)
+
+ 22 Dec 2005; <plasmaroo@gentoo.org> -xcircuit-2.5.5.ebuild,
+ +xcircuit-3.4.10.ebuild:
+ Remove obsolete 2.5.5; add 3.4.10.
14 Apr 2005; Tom Martin <slarti@gentoo.org> xcircuit-3.3.10.ebuild:
-m Marked ~amd64.
diff --git a/sci-electronics/xcircuit/files/digest-xcircuit-2.5.5 b/sci-electronics/xcircuit/files/digest-xcircuit-2.5.5
deleted file mode 100644
index d234949b4c86..000000000000
--- a/sci-electronics/xcircuit/files/digest-xcircuit-2.5.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d96cf74f3d39245bf711e67d77b06d49 xcircuit-2.5.5.tar.bz2 523555
diff --git a/sci-electronics/xcircuit/files/digest-xcircuit-3.4.10 b/sci-electronics/xcircuit/files/digest-xcircuit-3.4.10
new file mode 100644
index 000000000000..5e30708d2714
--- /dev/null
+++ b/sci-electronics/xcircuit/files/digest-xcircuit-3.4.10
@@ -0,0 +1 @@
+MD5 ec2d2d771b5ffaf996ae00b8da1e62b4 xcircuit-3.4.10.tgz 983183
diff --git a/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild b/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild
deleted file mode 100644
index 25634223a67b..000000000000
--- a/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-2.5.5.ebuild,v 1.2 2005/02/05 11:15:08 hansmi Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="Circuit drawing and schematic capture program."
-SRC_URI="http://xcircuit.ece.jhu.edu/archive/${P}.tar.bz2"
-HOMEPAGE="http://xcircuit.ece.jhu.edu"
-
-KEYWORDS="x86 ~ppc"
-IUSE=""
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/x11
- dev-lang/python
- virtual/ghostscript"
-
-#looks like -O3 causes problems at times
-replace-flags -O3 -O2
-
-src_compile() {
- econf || die "./configure failed"
-
- #Parallel make bombs on parameter.c looking for menudep.h
- make || die
-}
-
-src_install () {
- make DESTDIR=${D} install || die "Installation failed"
- dodoc COPYRIGHT README*
-}
diff --git a/sci-electronics/xcircuit/xcircuit-3.4.10.ebuild b/sci-electronics/xcircuit/xcircuit-3.4.10.ebuild
new file mode 100644
index 000000000000..6891bce8663e
--- /dev/null
+++ b/sci-electronics/xcircuit/xcircuit-3.4.10.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.4.10.ebuild,v 1.1 2005/12/22 23:02:19 plasmaroo Exp $
+
+DESCRIPTION="Circuit drawing and schematic capture program."
+SRC_URI="http://opencircuitdesign.com/xcircuit/archive/${P}.tgz"
+HOMEPAGE="http://opencircuitdesign.com/xcircuit"
+
+KEYWORDS="~x86 ~ppc ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="tcltk"
+
+DEPEND="virtual/x11
+ virtual/ghostscript
+ tcltk? ( dev-lang/tk )"
+
+src_compile() {
+
+ sed -e '693s:LDFLAGS="":LDFLAGS="-L/usr/X11R6/lib":;694i LIBS="${LIBS} ${LIB_SPECS}"' -i configure.in
+ aclocal && autoconf || die "Could not recreate configuration files!"
+
+ if use tcltk; then
+ econf --with-tcl --with-tk || die "econf failed"
+ else
+ econf || die "econf failed"
+ fi
+
+ if use tcltk; then
+ sed -e '67s/extern //' -i events.c
+ sed -e 's/extern Tcl_Interp/Tcl_Interp/' -i tclxcircuit.c
+ sed -e '2982d; 3069d;' -i xcircuit.c
+ make tcl || die
+ fi
+ make || die
+
+}
+
+src_install () {
+
+ emake DESTDIR=${D} install || die "Installation failed"
+ if use tcltk; then
+ emake DESTDIR=${D} install-tcl || die "Installation failed"
+ fi
+ dodoc COPYRIGHT README*
+
+}