diff options
Diffstat (limited to 'sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild')
-rw-r--r-- | sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild b/sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild new file mode 100644 index 0000000..a1b3de4 --- /dev/null +++ b/sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="Bootloader Utility For Philips LPC 2xxx ARM7 Chips" +SRC_URI="http://www.pjrc.com/arm/lpc2k_pgm/lpc2k_pgm_1.02.tar.gz" +HOMEPAGE="http://www.pjrc.com/arm/lpc2k_pgm/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +IUSE="gtk" +DEPEND="gtk? ( >=x11-libs/gtk+-2.0 )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${PN}_${PV}.tar.gz || die + cd ${PN} + epatch ${FILESDIR}/lpc2k_pgm-ds-console.patch.gz || die + chmod +x configure compile depcomp install-sh missing +} + +src_compile() { + ./configure || die + make || die +} + +src_install() { + into /usr + dobin lpc2k_pgm || die + use gtk && ( dobin lpc2k_pgm_gtk2 || die ) +} |