summaryrefslogtreecommitdiffstats
path: root/sci-electronics/adas/adas-3.3.0.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
commit576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch)
tree7d54883f16cccc4cbd414398d7fec3c437b36b49 /sci-electronics/adas/adas-3.3.0.ebuild
parentfdd6b67a78a966f6a2131de8fe0e539316511083 (diff)
downloaddarklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip
Cleaned most of outdated stuff
Diffstat (limited to 'sci-electronics/adas/adas-3.3.0.ebuild')
-rw-r--r--sci-electronics/adas/adas-3.3.0.ebuild64
1 files changed, 0 insertions, 64 deletions
diff --git a/sci-electronics/adas/adas-3.3.0.ebuild b/sci-electronics/adas/adas-3.3.0.ebuild
deleted file mode 100644
index 9557a14..0000000
--- a/sci-electronics/adas/adas-3.3.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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
-}