summaryrefslogtreecommitdiffstats
path: root/sci-electronics/lpc2k_pgm
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
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'sci-electronics/lpc2k_pgm')
-rw-r--r--sci-electronics/lpc2k_pgm/Manifest3
-rw-r--r--sci-electronics/lpc2k_pgm/files/lpc2k_pgm-ds-console.patch.gzbin0 -> 94769 bytes
-rw-r--r--sci-electronics/lpc2k_pgm/lpc2k_pgm-1.02.ebuild34
3 files changed, 37 insertions, 0 deletions
diff --git a/sci-electronics/lpc2k_pgm/Manifest b/sci-electronics/lpc2k_pgm/Manifest
new file mode 100644
index 0000000..27ed531
--- /dev/null
+++ b/sci-electronics/lpc2k_pgm/Manifest
@@ -0,0 +1,3 @@
+AUX lpc2k_pgm-ds-console.patch.gz 94769 RMD160 71f306af74d38a432128b046bd64134ea8d42810 SHA1 397b271e1c82612841ccd0dc5ec461d84b5a9e95 SHA256 bb925424c01a8e18a7e0a557cecf8e95646da2e9c149a067b9d0dd6c10feaf3b
+DIST lpc2k_pgm_1.02.tar.gz 24819 RMD160 c5ae4bbd131820d76d301be0bf2002f29617b0f6 SHA1 c58885ce6528d8c6777f540d2f97fb121f3ded77 SHA256 4e623f20383b0c935fe0cc3dca638c8757de81d37d001f53c3cb846cdf26e674
+EBUILD lpc2k_pgm-1.02.ebuild 779 RMD160 5c5e44046ce9461893ed4fec4ace7d7f8df0efaf SHA1 4b0d6ccccc63fd1a02ac04d6ddda4408e5e9d3dd SHA256 4da2beda04982840dfd1e4453a8f6f1f67c19003499631b4eb6edb672ce878f6
diff --git a/sci-electronics/lpc2k_pgm/files/lpc2k_pgm-ds-console.patch.gz b/sci-electronics/lpc2k_pgm/files/lpc2k_pgm-ds-console.patch.gz
new file mode 100644
index 0000000..1c13fbd
--- /dev/null
+++ b/sci-electronics/lpc2k_pgm/files/lpc2k_pgm-ds-console.patch.gz
Binary files differ
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 )
+}