diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-05-19 12:51:06 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-05-19 12:51:06 +0000 |
commit | 45d08648ed7aa8e82d5ec0c6cd5e47afea12a062 (patch) | |
tree | e7d71e45827d46e35c8b69675f7d3a555d6018d4 /dev-embedded | |
parent | Added local USE flag epiphany for dev-embedded/ponyprog. (diff) | |
download | gentoo-2-45d08648ed7aa8e82d5ec0c6cd5e47afea12a062.tar.gz gentoo-2-45d08648ed7aa8e82d5ec0c6cd5e47afea12a062.tar.bz2 gentoo-2-45d08648ed7aa8e82d5ec0c6cd5e47afea12a062.zip |
Version bump. Fixes bug #147457 (thanks to Daniel Glaser). Now builds from source.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/ponyprog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/ponyprog/files/digest-ponyprog-2.07a | 3 | ||||
-rw-r--r-- | dev-embedded/ponyprog/ponyprog-2.07a.ebuild | 74 |
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-embedded/ponyprog/ChangeLog b/dev-embedded/ponyprog/ChangeLog index 90790f31690b..36b99f2b93e4 100644 --- a/dev-embedded/ponyprog/ChangeLog +++ b/dev-embedded/ponyprog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/ponyprog # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ChangeLog,v 1.9 2007/04/13 09:49:23 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ChangeLog,v 1.10 2007/05/19 12:51:06 calchan Exp $ + +*ponyprog-2.07a (19 May 2007) + + 19 May 2007; Denis Dupeyron <calchan@gentoo.org> +ponyprog-2.07a.ebuild: + Version bump. Fixes bug #147457 (thanks to Daniel Glaser). Now builds from + source. 13 Apr 2007; Denis Dupeyron <calchan@gentoo.org> ponyprog-2.06c.ebuild: Fixed bug #173884. diff --git a/dev-embedded/ponyprog/files/digest-ponyprog-2.07a b/dev-embedded/ponyprog/files/digest-ponyprog-2.07a new file mode 100644 index 000000000000..f112dab6fc8a --- /dev/null +++ b/dev-embedded/ponyprog/files/digest-ponyprog-2.07a @@ -0,0 +1,3 @@ +MD5 53154ba10d5cd7ed68e84da8f3e724a5 PonyProg2000-2.07a.tar.gz 680770 +RMD160 b9604e23c5e7dd703a80688dff425b59e72e6e14 PonyProg2000-2.07a.tar.gz 680770 +SHA256 6398fcbe15a0ea93f6f38a3ad7299f5b46ba09d2f97050f386e27f19a3283436 PonyProg2000-2.07a.tar.gz 680770 diff --git a/dev-embedded/ponyprog/ponyprog-2.07a.ebuild b/dev-embedded/ponyprog/ponyprog-2.07a.ebuild new file mode 100644 index 000000000000..56ca05d368a1 --- /dev/null +++ b/dev-embedded/ponyprog/ponyprog-2.07a.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ponyprog-2.07a.ebuild,v 1.1 2007/05/19 12:51:06 calchan Exp $ + +inherit eutils + +DESCRIPTION="Serial device programmer" +HOMEPAGE="http://www.lancos.com/ppwin95.html" +SRC_URI="mirror://sourceforge/${PN}/PonyProg2000-${PV}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="epiphany firefox seamonkey" +RDEPEND="x11-libs/libXaw + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXext + x11-libs/libX11 + epiphany? ( www-client/epiphany ) + firefox? ( || ( www-client/mozilla-firefox www-client/mozilla-firefox-bin ) ) + seamonkey? ( || ( www-client/seamonkey www-client/seamonkey-bin ) )" +DEPEND="${RDEPEND} + media-gfx/imagemagick" + +S="${WORKDIR}/PonyProg2000-${PV}" + +pkg_setup() { + if (use epiphany && use firefox) || (use epiphany && use seamonkey) || (use firefox && use seamonkey) ; then + die "Only one of epiphany, firefox or seamonkey can be in USE." + fi +} + +src_unpack() { + unpack "${A}" + cd "${S}" + sed -i \ + -e "s:\$(HOME)/Progetti/PonyProg_Sourceforge/v:${S}/v:" \ + -e 's/\-O2//' \ + v/Config.mk + sed -i -e 's/<asm\/io.h>/<sys\/io.h>/' *.cpp + if use epiphany ; then + sed -i -e 's/netscape/epiphany/' e2cmdw.cpp + fi + if use firefox ; then + sed -i -e 's/netscape/firefox/' e2cmdw.cpp + fi + if use seamonkey ; then + sed -i -e 's/netscape/seamonkey/' e2cmdw.cpp + fi + convert ponyprog.ico ponyprog.png +} + +src_compile() { + emake || die "Compilation failed" +} + +src_install () { + dobin bin/ponyprog2000 + keepdir /var/lock/uucp + fowners uucp:uucp /var/lock/uucp + fperms 755 /var/lock/uucp + doicon ponyprog.png + make_desktop_entry ponyprog2000 PonyProg2000 ponyprog.png +} + +pkg_postinst() { + elog "To use the COM port in user mode (not as root) you need to" + elog "make sure you have the rights to write to /dev/ttyS? devices" + elog "and /var/lock directory." + elog + elog "To use the LPT port in user mode (not as root) you need a kernel with" + elog "ppdev, parport and parport_pc compiled in or as modules. You need the" + elog "rights to write to /dev/parport? devices." +} |