diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-03-27 11:06:23 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-03-27 11:06:23 +0000 |
commit | 27eb054c8d82f70c903cdab65578c51501e9e373 (patch) | |
tree | c75a7c31d0fd1f6beb575801be3ea7237b990882 /dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild | |
parent | Dropping gtk+extra mask, see bug 292211 (diff) | |
download | historical-27eb054c8d82f70c903cdab65578c51501e9e373.tar.gz historical-27eb054c8d82f70c903cdab65578c51501e9e373.tar.bz2 historical-27eb054c8d82f70c903cdab65578c51501e9e373.zip |
Reinstate gtk gui, see bug 309347
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild')
-rw-r--r-- | dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild b/dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild new file mode 100644 index 000000000000..abd641780abe --- /dev/null +++ b/dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/gpsim-0.24.0-r1.ebuild,v 1.1 2010/03/27 11:06:23 pacho Exp $ + +EAPI=2 + +DESCRIPTION="A simulator for the Microchip PIC microcontrollers" +HOMEPAGE="http://gpsim.sourceforge.net" +SRC_URI="mirror://sourceforge/gpsim/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc gtk" + +RDEPEND="dev-libs/glib:2 + dev-libs/popt + >=dev-embedded/gputils-0.12 + gtk? ( >=x11-libs/gtk+extra-2 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/flex + || ( dev-util/yacc sys-devel/bison )" + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable gtk gui) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ANNOUNCE AUTHORS ChangeLog HISTORY NEWS \ + PROCESSORS README README.MODULES TODO + + if use doc; then + insinto /usr/share/doc/${PF}/pdf + doins "${S}"/doc/gpsim.pdf + fi +} |