summaryrefslogtreecommitdiffstats
path: root/sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild')
-rw-r--r--sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild34
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 )
+}