# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20060321.ebuild,v 1.1 2006/04/07 20:17:54 plasmaroo 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="~amd64 ~ppc ~sparc ~x86" IUSE="" RDEPEND=">=x11-libs/gtk+-2.4" DEPEND="${RDEPEND} =dev-lang/tk-8* || ( virtual/x11 x11-proto/xproto )" src_unpack() { unpack ${A} cd ${S} sed -i 's/\(^START-INFO\)/INFO-DIR-SECTION Miscellaneous\n\1/' doc/pcb.info } src_compile() { econf || die emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog NEWS README }