public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/misterhouse/, app-misc/misterhouse/files/
@ 2016-04-26 20:13 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-04-26 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     586e0175407c6e6e7e79cf007a4194c18ffe0759
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 20:12:19 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 20:13:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586e0175

app-misc/misterhouse: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846

Package-Manager: portage-2.2.26

 app-misc/misterhouse/files/misterhouse.init      |  2 +-
 app-misc/misterhouse/misterhouse-2.103-r1.ebuild | 50 +++++++++++++++++++++++
 app-misc/misterhouse/misterhouse-2.105-r1.ebuild | 52 ++++++++++++++++++++++++
 3 files changed, 103 insertions(+), 1 deletion(-)

diff --git a/app-misc/misterhouse/files/misterhouse.init b/app-misc/misterhouse/files/misterhouse.init
index bd3d72b..e2a8b73 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 0000000..6fc8ec6
--- /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 0000000..dba3fd3
--- /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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-26 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 20:13 [gentoo-commits] repo/gentoo:master commit in: app-misc/misterhouse/, app-misc/misterhouse/files/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox