diff options
Diffstat (limited to 'dev-embedded/mspdebug/mspdebug-0.13.ebuild')
-rw-r--r-- | dev-embedded/mspdebug/mspdebug-0.13.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-embedded/mspdebug/mspdebug-0.13.ebuild b/dev-embedded/mspdebug/mspdebug-0.13.ebuild new file mode 100644 index 000000000000..811d7cb40139 --- /dev/null +++ b/dev-embedded/mspdebug/mspdebug-0.13.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/mspdebug-0.13.ebuild,v 1.1 2010/11/26 07:53:55 radhermit Exp $ + +EAPI="3" + +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 ) + dev-libs/libusb:0" +RDEPEND="${DEPEND}" + +src_compile() { + local myflags + + if ! use readline; then + myflags="WITHOUT_READLINE=1" + fi + + emake CC=$(tc-getCC) ${myflags} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed" + dodoc AUTHORS ChangeLog +} |