summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/misterhouse/files/misterhouse.init2
-rw-r--r--app-misc/misterhouse/misterhouse-2.103-r1.ebuild50
-rw-r--r--app-misc/misterhouse/misterhouse-2.105-r1.ebuild52
3 files changed, 103 insertions, 1 deletions
diff --git a/app-misc/misterhouse/files/misterhouse.init b/app-misc/misterhouse/files/misterhouse.init
index bd3d72b39548..e2a8b73f9405 100644
--- a/app-misc/misterhouse/files/misterhouse.init
+++ b/app-misc/misterhouse/files/misterhouse.init
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
depend() {
need clock hostname net
diff --git a/app-misc/misterhouse/misterhouse-2.103-r1.ebuild b/app-misc/misterhouse/misterhouse-2.103-r1.ebuild
new file mode 100644
index 000000000000..6fc8ec6ad66f
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.103-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Mister House, an open source home automation program with X10 support"
+HOMEPAGE="http://misterhouse.sf.net/"
+LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/misterhouse/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="tk mysql"
+
+QA_PREBUILT="opt/misterhouse/bin/viavoice_server"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/Tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ virtual/perl-DB_File
+ dev-perl/TermReadKey
+ virtual/perl-Time-HiRes
+ dev-perl/Audio-Mixer
+ dev-perl/Text-LevenshteinXS"
+
+src_install() {
+ dodir /opt/misterhouse
+
+ cp -r "${S}/bin" "${D}/opt/misterhouse"
+ cp -r "${S}/code" "${D}/opt/misterhouse"
+ cp -r "${S}/data" "${D}/opt/misterhouse"
+ for a in "${S}"/docs/*; do
+ dodoc ${a}
+ done
+ dosym /usr/share/doc/${PF} /opt/misterhouse/docs
+ cp -r "${S}/lib" "${D}/opt/misterhouse"
+ cp -r "${S}/sounds" "${D}/opt/misterhouse"
+ cp -r "${S}/web" "${D}/opt/misterhouse"
+ newconfd "${FILESDIR}"/misterhouse.conf misterhouse
+ newinitd "${FILESDIR}"/misterhouse.init misterhouse
+
+}
+
+pkg_postinst() {
+ cd /opt/misterhouse/bin
+ ./configure
+}
diff --git a/app-misc/misterhouse/misterhouse-2.105-r1.ebuild b/app-misc/misterhouse/misterhouse-2.105-r1.ebuild
new file mode 100644
index 000000000000..dba3fd35e9fd
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.105-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="Mister House, an open source home automation program with X10 support"
+HOMEPAGE="http://misterhouse.sf.net/"
+LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/misterhouse/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk mysql"
+
+S="${WORKDIR}/mh"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/Tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ virtual/perl-DB_File
+ dev-perl/TermReadKey
+ virtual/perl-Time-HiRes
+ dev-perl/Audio-Mixer
+ dev-perl/Text-LevenshteinXS"
+
+src_install() {
+ dodir /opt/misterhouse
+
+ cp -r "${S}/bin" "${D}/opt/misterhouse" || die
+ cp -r "${S}/code" "${D}/opt/misterhouse" || die
+ cp -r "${S}/data" "${D}/opt/misterhouse" || die
+ for a in "${S}"/docs/*; do
+ dodoc ${a} || die
+ done
+ dosym /usr/share/doc/${PF} /opt/misterhouse/docs
+ cp -r "${S}/lib" "${D}/opt/misterhouse" || die
+ cp -r "${S}/sounds" "${D}/opt/misterhouse" || die
+ cp -r "${S}/web" "${D}/opt/misterhouse" || die
+ newconfd "${FILESDIR}"/misterhouse.conf misterhouse
+ newinitd "${FILESDIR}"/misterhouse.init misterhouse
+
+}
+
+pkg_postinst() {
+ cd /opt/misterhouse/bin
+ ./configure
+}