summaryrefslogtreecommitdiffstats
path: root/sci-electronics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/adas/Manifest14
-rw-r--r--sci-electronics/adas/adas-3.2.6.ebuild59
-rw-r--r--sci-electronics/adas/adas-3.2.7.ebuild60
-rw-r--r--sci-electronics/adas/adas-3.2.8.ebuild60
-rw-r--r--sci-electronics/adas/adas-3.2.9.ebuild60
-rw-r--r--sci-electronics/adas/adas-3.3.0.ebuild64
-rw-r--r--sci-electronics/adas/adas-3.3.1.ebuild64
-rw-r--r--sci-electronics/adas/adas-3.3.2.ebuild64
-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
11 files changed, 482 insertions, 0 deletions
diff --git a/sci-electronics/adas/Manifest b/sci-electronics/adas/Manifest
new file mode 100644
index 0000000..a43978a
--- /dev/null
+++ b/sci-electronics/adas/Manifest
@@ -0,0 +1,14 @@
+DIST adas-3.2.6.tar.bz2 468108 RMD160 2ae67498becb4c5aa633774d23fb3cbf805f33c5 SHA1 104efb2c637a32c49989b9adc9775f4d6054edc8 SHA256 da3af68533433e4bbb10b8cab67accab812bca405530768a96717afb967d4b9e
+DIST adas-3.2.7.tar.bz2 474895 RMD160 1d26b0f10dafd0ee0560e2140e9ee6dea11d6627 SHA1 f864411216825a8824bcd661a5072a103589fd22 SHA256 3e99bedca2273966c968dd5677181f49b6c0f622d5e725bb87c21f239630cdd6
+DIST adas-3.2.8.tar.bz2 474894 RMD160 aacb238e5e78ec1cd7e99c33a053e5414a8972c2 SHA1 7f6464e73d4efdb18362ef98c8d383752da76bfd SHA256 e415e16c1ad1cd88e3a0508bd9e8beac833185d3b8aad71d0c8b231ccb64a458
+DIST adas-3.2.9.tar.bz2 475656 RMD160 6108fdaa6666955f1ec6f9b362b894f2d533538f SHA1 0171da5562f889dc54c1105cb793ef470b30b9d1 SHA256 a0beec2cd581deeecef075981264912784c401337d2c9e770c7d1999c166427e
+DIST adas-3.3.0.tar.bz2 476703 RMD160 7c84b024cc5382537b792a91b72b2e773aa1f984 SHA1 db26ce5a37ba6e13a292a939fdeeda2304c4399c SHA256 68590e89a56ee6023e924ba55d8df6ef2bc1efd67e8439b48b8cc9812d4f12d0
+DIST adas-3.3.1.tar.bz2 478517 RMD160 2da60a501489c13c0d94c4a8bcb000f8c0be72a4 SHA1 3dbfa38677d9f81c410a2c82e06f3892c8349ada SHA256 0a1a2afa164330feb62aaa334370e1aca5eceb2a703f872f5dc4159fcb88de82
+DIST adas-3.3.2.tar.bz2 499504 RMD160 d53fba80d44a35cd5cc22b2af84957ddf4141311 SHA1 46bc4ad3402c329830ed5da09413175faf22cddf SHA256 77ac68e026e3d893867504a6a08b1cd9b57bb4edbe6ef1098f07519a53bbaf64
+EBUILD adas-3.2.6.ebuild 1662 RMD160 4c80449a85633250ab86b6e54732ff69e3e863b9 SHA1 77d74224b03e4cae6b5e9bf47f134a2aab099ab7 SHA256 ba4537e07b44423bae366b0734e4b8a960c94e068ed2a3d6ecfa23fabac6dd7f
+EBUILD adas-3.2.7.ebuild 1695 RMD160 443ad04721ea32b7fbbb8cbeb6888c5fad9809ef SHA1 ae7f9a37b39a452eee3503def0ff4003396e18ab SHA256 768c334f7b3f7bcf474f10ca7d104095bd5cbcd337b4953e89890a38176b9549
+EBUILD adas-3.2.8.ebuild 1695 RMD160 443ad04721ea32b7fbbb8cbeb6888c5fad9809ef SHA1 ae7f9a37b39a452eee3503def0ff4003396e18ab SHA256 768c334f7b3f7bcf474f10ca7d104095bd5cbcd337b4953e89890a38176b9549
+EBUILD adas-3.2.9.ebuild 1695 RMD160 443ad04721ea32b7fbbb8cbeb6888c5fad9809ef SHA1 ae7f9a37b39a452eee3503def0ff4003396e18ab SHA256 768c334f7b3f7bcf474f10ca7d104095bd5cbcd337b4953e89890a38176b9549
+EBUILD adas-3.3.0.ebuild 1811 RMD160 d6daea71844f7a10e750aa961462f91a91caa6a6 SHA1 e17f42e9cbd278c54ac202585bed617942ee0d8f SHA256 e49e48c883f12747cd4c9ad8556a5c05991eb1b6caad45a20dc0db3b89c5e620
+EBUILD adas-3.3.1.ebuild 1819 RMD160 2045bb3f89a2759dde1733a1ab8c881d88868e97 SHA1 90cf06711d81ad656c7b623455590c5fa0e98911 SHA256 4cf8a4a477fbc42392fd821e71cb304c7acdfab2fc3abbb67dd7d4ad9a3d655c
+EBUILD adas-3.3.2.ebuild 1819 RMD160 2045bb3f89a2759dde1733a1ab8c881d88868e97 SHA1 90cf06711d81ad656c7b623455590c5fa0e98911 SHA256 4cf8a4a477fbc42392fd821e71cb304c7acdfab2fc3abbb67dd7d4ad9a3d655c
diff --git a/sci-electronics/adas/adas-3.2.6.ebuild b/sci-electronics/adas/adas-3.2.6.ebuild
new file mode 100644
index 0000000..9173118
--- /dev/null
+++ b/sci-electronics/adas/adas-3.2.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ dev-libs/libds
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+}
diff --git a/sci-electronics/adas/adas-3.2.7.ebuild b/sci-electronics/adas/adas-3.2.7.ebuild
new file mode 100644
index 0000000..4aecd34
--- /dev/null
+++ b/sci-electronics/adas/adas-3.2.7.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ dev-libs/libds
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_error || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+}
diff --git a/sci-electronics/adas/adas-3.2.8.ebuild b/sci-electronics/adas/adas-3.2.8.ebuild
new file mode 100644
index 0000000..4aecd34
--- /dev/null
+++ b/sci-electronics/adas/adas-3.2.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ dev-libs/libds
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_error || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+}
diff --git a/sci-electronics/adas/adas-3.2.9.ebuild b/sci-electronics/adas/adas-3.2.9.ebuild
new file mode 100644
index 0000000..4aecd34
--- /dev/null
+++ b/sci-electronics/adas/adas-3.2.9.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ dev-libs/libds
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_error || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+}
diff --git a/sci-electronics/adas/adas-3.3.0.ebuild b/sci-electronics/adas/adas-3.3.0.ebuild
new file mode 100644
index 0000000..9557a14
--- /dev/null
+++ b/sci-electronics/adas/adas-3.3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ dev-libs/libds
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_error || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+ keepdir /var/www/localhost/htdocs/conf/flags
+
+ chown -R apache:apache ${D}/var/www/localhost/htdocs/conf || die
+}
diff --git a/sci-electronics/adas/adas-3.3.1.ebuild b/sci-electronics/adas/adas-3.3.1.ebuild
new file mode 100644
index 0000000..e4ef1d9
--- /dev/null
+++ b/sci-electronics/adas/adas-3.3.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ >=dev-libs/libds-0.1.3
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_error || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+ keepdir /var/www/localhost/htdocs/conf/flags
+
+ chown -R apache:apache ${D}/var/www/localhost/htdocs/conf || die
+}
diff --git a/sci-electronics/adas/adas-3.3.2.ebuild b/sci-electronics/adas/adas-3.3.2.ebuild
new file mode 100644
index 0000000..e4ef1d9
--- /dev/null
+++ b/sci-electronics/adas/adas-3.3.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Unified Aragats Data Acquisition System"
+SRC_URI="http://dside.dyndns.org/files/adas/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-libs/libxml2
+ >=dev-libs/libds-0.1.3
+ www-servers/apache"
+RDEPEND="${DEPEND}
+ app-misc/lcdproc
+ net-misc/ntp"
+
+src_compile() {
+ make -C adas || die
+ make -C clients || die
+ make -C namt/emu || die
+ make -C tools
+}
+
+src_install() {
+ into /usr
+ dobin adas/adas-srv || die
+ dobin misc/adas.pl || die
+ dobin misc/adas_error || die
+ dobin misc/adas_xml2ascii || die
+ cp -P -f misc/adas_xml2csv ${D}/usr/bin || die
+ dobin misc/adas_ascii2xml || die
+ dobin clients/adas-simple || die
+ dobin tools/nettest || die
+ cp -P -f tools/nettest-* ${D}/usr/bin/
+ dobin namt/emu/namt-emu || die
+ newinitd misc/adas.gentoo adas
+ newinitd misc/adas-eden.gentoo adas-eden
+
+ dodir /etc
+ dodir /etc/cron.hourly
+ dodir /etc/cron.daily
+
+ install -m 644 adas/adas.cfg ${D}/etc/adas.cfg.example
+ install -m 755 misc/adas-eden.cron ${D}/etc/cron.hourly/adas
+ install -m 755 misc/adas-clean.cron ${D}/etc/cron.hourly/adas-clean
+ install -m 755 misc/adas-ntp.pl ${D}/etc/cron.hourly/adas-ntp.pl
+
+ install -m 755 misc/adas-clean.cfg ${D}/etc/adas-clean.cfg
+ chown apache:apache ${D}/etc/adas-clean.cfg
+
+ install -m 755 emu/ascii.pl ${D}/usr/bin/adas-emu-ascii.pl
+
+ dodir /var/www/localhost/
+ cp -R web ${D}/var/www/localhost/
+ mv ${D}/var/www/localhost/web ${D}/var/www/localhost/htdocs
+
+ keepdir /var/www/localhost/htdocs/data
+ keepdir /var/www/localhost/htdocs/conf/flags
+
+ chown -R apache:apache ${D}/var/www/localhost/htdocs/conf || die
+}
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 )
+}