summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-04-28 12:50:30 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-04-28 12:50:30 +0000
commit10c4abdb9c23a2afcc2b0f91c789e22b07651c45 (patch)
tree60cdea71a7222f6d39587ee7c58d56de464ef37e /dev-embedded/srecord
parentStraight to stable (bug #218933). (diff)
downloadgentoo-2-10c4abdb9c23a2afcc2b0f91c789e22b07651c45.tar.gz
gentoo-2-10c4abdb9c23a2afcc2b0f91c789e22b07651c45.tar.bz2
gentoo-2-10c4abdb9c23a2afcc2b0f91c789e22b07651c45.zip
Version bump with gcc-4.3 support, thanks to Peter Alfredsen (bug #219547).
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-embedded/srecord')
-rw-r--r--dev-embedded/srecord/ChangeLog10
-rw-r--r--dev-embedded/srecord/srecord-1.40.ebuild36
2 files changed, 44 insertions, 2 deletions
diff --git a/dev-embedded/srecord/ChangeLog b/dev-embedded/srecord/ChangeLog
index 4837441f34a3..5edd03c241bb 100644
--- a/dev-embedded/srecord/ChangeLog
+++ b/dev-embedded/srecord/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/srecord
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/ChangeLog,v 1.4 2007/03/30 05:54:55 calchan Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/ChangeLog,v 1.5 2008/04/28 12:50:30 calchan Exp $
+
+*srecord-1.40 (28 Apr 2008)
+
+ 28 Apr 2008; Denis Dupeyron <calchan@gentoo.org> +srecord-1.40.ebuild:
+ Version bump with gcc-4.3 support, thanks to Peter Alfredsen (bug
+ #219547).
30 Mar 2007; Denis Dupeyron <calchan@gentoo.org> srecord-1.29.ebuild:
Successfully tested on sparc.
diff --git a/dev-embedded/srecord/srecord-1.40.ebuild b/dev-embedded/srecord/srecord-1.40.ebuild
new file mode 100644
index 000000000000..91877f3d5bc7
--- /dev/null
+++ b/dev-embedded/srecord/srecord-1.40.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/srecord-1.40.ebuild,v 1.1 2008/04/28 12:50:30 calchan Exp $
+
+DESCRIPTION="A collection of powerful tools for manipulating EPROM load files."
+HOMEPAGE="http://srecord.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="test"
+
+DEPEND="test? ( app-arch/sharutils )"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+ unpack ${A}
+ sed -i \
+ -e 's/(SOELIM) -I. -Ietc man\/man1/(SOELIM) -I. -Ietc -Iman\/man1 man\/man1/' \
+ -e 's/(SOELIM) -I. -Ietc man\/man5/(SOELIM) -I. -Ietc -Iman\/man5 man\/man5/' \
+ -e '/\$(mandir)\/man1\/srec_license.1 \\/d' \
+ "${S}"/Makefile.in || die "Patching failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Installation failed"
+ dodoc "${S}"/README
+ insinto /usr/share/doc/${PF}
+ doins "${S}"/etc/reference.ps
+}
+
+src_test() {
+ make sure || die "Tests failed"
+}