diff options
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/mspdebug/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/mspdebug/mspdebug-0.18.ebuild | 36 |
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-embedded/mspdebug/ChangeLog b/dev-embedded/mspdebug/ChangeLog index 547edfcd4714..74e6dd025084 100644 --- a/dev-embedded/mspdebug/ChangeLog +++ b/dev-embedded/mspdebug/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-embedded/mspdebug # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/ChangeLog,v 1.5 2011/08/26 07:40:27 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/ChangeLog,v 1.6 2011/11/09 06:20:39 radhermit Exp $ + +*mspdebug-0.18 (09 Nov 2011) + + 09 Nov 2011; Tim Harder <radhermit@gentoo.org> +mspdebug-0.18.ebuild: + Version bump. *mspdebug-0.17 (26 Aug 2011) diff --git a/dev-embedded/mspdebug/mspdebug-0.18.ebuild b/dev-embedded/mspdebug/mspdebug-0.18.ebuild new file mode 100644 index 000000000000..28337095cc1d --- /dev/null +++ b/dev-embedded/mspdebug/mspdebug-0.18.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/mspdebug-0.18.ebuild,v 1.1 2011/11/09 06:20:39 radhermit Exp $ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="A free debugger for use with MSP430 MCUs" +HOMEPAGE="http://mspdebug.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="readline" + +DEPEND="readline? ( sys-libs/readline ) + virtual/libusb:0" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:-O1 \(.*\) -ggdb:\1:" Makefile +} + +src_compile() { + local myflags + ! use readline && myflags="WITHOUT_READLINE=1" + + emake CC="$(tc-getCC)" ${myflags} +} + +src_install() { + emake DESTDIR="${ED}" PREFIX="${EPREFIX}"/usr install + dodoc AUTHORS ChangeLog README +} |