diff options
Diffstat (limited to 'app-sci/pcb/pcb-20040530.ebuild')
-rw-r--r-- | app-sci/pcb/pcb-20040530.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-sci/pcb/pcb-20040530.ebuild b/app-sci/pcb/pcb-20040530.ebuild new file mode 100644 index 000000000000..31300d7c69db --- /dev/null +++ b/app-sci/pcb/pcb-20040530.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/pcb/pcb-20040530.ebuild,v 1.1 2004/07/14 17:46:40 ribosome Exp $ + +DESCRIPTION="tool for the layout of printed circuit boards" +HOMEPAGE="http://pcb.sourceforge.net/" +SRC_URI="mirror://sourceforge/pcb/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="Xaw3d" + +RDEPEND="virtual/x11" +DEPEND="${RDEPEND} + =dev-lang/tk-8*" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's/\(^START-INFO\)/INFO-DIR-SECTION Miscellaneous\n\1/' doc/pcb.info +} + +src_compile() { + local myconf="" + use Xaw3d \ + && myconf="--with-xaw=Xaw3d" \ + || myconf="--with-xaw=Xaw" + econf ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog NEWS README +} |