1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
8 HOMEPAGE="http://gpsim.sourceforge.net"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13 KEYWORDS="amd64 ~ppc ~ppc64 x86"
14 IUSE="doc gtk static-libs"
16 RDEPEND=">=dev-embedded/gputils-0.12
17 !dev-embedded/gpsim-lcd
21 gtk? ( >=x11-libs/gtk+extra-2 )"
27 DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
29 PATCHES=( "${FILESDIR}"/${P}-gui.patch )
33 $(use_enable gtk gui) \
34 $(use_enable static-libs static)
39 use doc && dodoc doc/gpsim.pdf