diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-01-29 19:44:12 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-01-29 19:44:12 +0000 |
commit | bda7a75746683a0eaa4929673233be2f1fba58f2 (patch) | |
tree | 0834e926f7cf4a93aa7eaa9126fef8127388b7ce /dev-embedded/gpsim | |
parent | A number of fixes (diff) | |
download | gentoo-2-bda7a75746683a0eaa4929673233be2f1fba58f2.tar.gz gentoo-2-bda7a75746683a0eaa4929673233be2f1fba58f2.tar.bz2 gentoo-2-bda7a75746683a0eaa4929673233be2f1fba58f2.zip |
Version bump, bug #155034. Cleanups.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'dev-embedded/gpsim')
-rw-r--r-- | dev-embedded/gpsim/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/gpsim/files/digest-gpsim-0.22.0 | 3 | ||||
-rw-r--r-- | dev-embedded/gpsim/files/gpsim-0.22.0-eXdbm.patch | 45 | ||||
-rw-r--r-- | dev-embedded/gpsim/gpsim-0.22.0.ebuild | 55 |
4 files changed, 110 insertions, 1 deletions
diff --git a/dev-embedded/gpsim/ChangeLog b/dev-embedded/gpsim/ChangeLog index 88843980b17d..0093625f13b4 100644 --- a/dev-embedded/gpsim/ChangeLog +++ b/dev-embedded/gpsim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/gpsim # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/ChangeLog,v 1.28 2007/01/05 07:29:06 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/ChangeLog,v 1.29 2007/01/29 19:44:12 calchan Exp $ + +*gpsim-0.22.0 (29 Jan 2007) + + 29 Jan 2007; Denis Dupeyron <calchan@gentoo.org> + +files/gpsim-0.22.0-eXdbm.patch, +gpsim-0.22.0.ebuild: + Version bump, bug #155034. Cleanups. 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> gpsim-0.21.11.ebuild: Fix autotools dependencies. diff --git a/dev-embedded/gpsim/files/digest-gpsim-0.22.0 b/dev-embedded/gpsim/files/digest-gpsim-0.22.0 new file mode 100644 index 000000000000..130292a39bc2 --- /dev/null +++ b/dev-embedded/gpsim/files/digest-gpsim-0.22.0 @@ -0,0 +1,3 @@ +MD5 f05a4e58d24b5a5c6b57c8d0e3810f75 gpsim-0.22.0.tar.gz 1528125 +RMD160 92701bf669a20a6e17e9c3f8b03627ac9214a4bf gpsim-0.22.0.tar.gz 1528125 +SHA256 08fdc92b88dee4cd9d63e5abe56dc73940b0efec427997eee005f8fe75d54fc7 gpsim-0.22.0.tar.gz 1528125 diff --git a/dev-embedded/gpsim/files/gpsim-0.22.0-eXdbm.patch b/dev-embedded/gpsim/files/gpsim-0.22.0-eXdbm.patch new file mode 100644 index 000000000000..ba83efc6791d --- /dev/null +++ b/dev-embedded/gpsim/files/gpsim-0.22.0-eXdbm.patch @@ -0,0 +1,45 @@ +diff -Naur gpsim-0.22.0.orig/cli/Makefile.am gpsim-0.22.0/cli/Makefile.am +--- gpsim-0.22.0.orig/cli/Makefile.am 2006-07-02 04:59:01.000000000 +0200 ++++ gpsim-0.22.0/cli/Makefile.am 2007-01-29 15:14:09.000000000 +0100 +@@ -47,7 +47,7 @@ + cmd_stimulus.h cmd_x.h symbol_t.h cmd_frequency.h cmd_icd.h \ + cmd_macro.h ui_gpsim.h + +-libgpsimcli_la_LIBADD = $(LIBREADLINE) ++libgpsimcli_la_LIBADD = $(LIBREADLINE) ../eXdbm/libgpsim_eXdbm.la + + AM_YFLAGS = -dvt + +diff -Naur gpsim-0.22.0.orig/gpsim/Makefile.am gpsim-0.22.0/gpsim/Makefile.am +--- gpsim-0.22.0.orig/gpsim/Makefile.am 2006-04-09 04:09:31.000000000 +0200 ++++ gpsim-0.22.0/gpsim/Makefile.am 2007-01-29 15:17:07.000000000 +0100 +@@ -9,6 +9,6 @@ + gpsim_SOURCES = main.cc + + gpsim_LDFLAGS = $(shell gtk-config --cflags) +-gpsim_LDADD = ../src/libgpsim.la ../cli/libgpsimcli.la ../gui/libgpsimgui.la \ +- ../eXdbm/libgpsim_eXdbm.la @GTK@ @GDK@ @GLIB@ -lstdc++ -lpopt \ ++gpsim_LDADD = ../src/libgpsim.la ../eXdbm/libgpsim_eXdbm.la ../cli/libgpsimcli.la ../gui/libgpsimgui.la \ ++ @GTK@ @GDK@ @GLIB@ -lstdc++ -lpopt \ + @X_LDFLAGS@ @Y_LDFLAGS@ @LIBREADLINE@ +diff -Naur gpsim-0.22.0.orig/gui/Makefile.am gpsim-0.22.0/gui/Makefile.am +--- gpsim-0.22.0.orig/gui/Makefile.am 2006-05-02 04:48:54.000000000 +0200 ++++ gpsim-0.22.0/gui/Makefile.am 2007-01-29 15:15:14.000000000 +0100 +@@ -17,6 +17,7 @@ + preferences.cc preferences.h \ + settings.h settings_exdbm.h + ++libgpsimgui_la_LIBADD = ../eXdbm/libgpsim_eXdbm.la + libgpsimgui_la_LDFLAGS = @X_LDFLAGS@ @Y_LDFLAGS@ + + pixmapdir = $(datadir)/gpsim +diff -Naur gpsim-0.22.0.orig/Makefile.am gpsim-0.22.0/Makefile.am +--- gpsim-0.22.0.orig/Makefile.am 2006-10-21 04:06:53.000000000 +0200 ++++ gpsim-0.22.0/Makefile.am 2007-01-29 15:17:37.000000000 +0100 +@@ -1,5 +1,5 @@ + +-SUBDIRS = cli xpms eXdbm gui src gpsim modules examples doc regression ++SUBDIRS = eXdbm cli xpms gui src gpsim modules examples doc regression + + dist-hook: + cp gpsim.spec $(distdir) diff --git a/dev-embedded/gpsim/gpsim-0.22.0.ebuild b/dev-embedded/gpsim/gpsim-0.22.0.ebuild new file mode 100644 index 000000000000..a7fd73233e36 --- /dev/null +++ b/dev-embedded/gpsim/gpsim-0.22.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/gpsim-0.22.0.ebuild,v 1.1 2007/01/29 19:44:12 calchan Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools + +DESCRIPTION="A simulator for the Microchip PIC microcontrollers" +HOMEPAGE="http://www.dattalo.com/gnupic/gpsim.html" +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 + dev-libs/popt + gtk? ( >=x11-libs/gtk+extra-2.1.1 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" +RDEPEND="${RDEPEND} + >=dev-embedded/gputils-0.12.0" + + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-eXdbm.patch" + eautoreconf +} + + +src_compile() { + econf $(use_enable gtk gui) || die "Configuration failed" + emake || die "Compilation failed" +} + + +src_install() { + emake DESTDIR=${D} install || die "Installation failed" + + # install boring documentation + dodoc AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO + + # install interesting documentation + if use doc ; then + insinto /usr/share/doc/${PF} + doins "${S}"/doc/gpsim.pdf + fi +} |