diff options
author | Austin English <wizardedit@gentoo.org> | 2016-04-26 15:12:19 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-04-26 15:13:12 -0500 |
commit | 586e0175407c6e6e7e79cf007a4194c18ffe0759 (patch) | |
tree | df87c2793977f07a1c2b24d9a0eb9f155992bcf9 /app-misc | |
parent | dev-perl/WWW-Dict-Leo-Org: Bump to version 1.400.0 (diff) | |
download | gentoo-586e0175407c6e6e7e79cf007a4194c18ffe0759.tar.gz gentoo-586e0175407c6e6e7e79cf007a4194c18ffe0759.tar.bz2 gentoo-586e0175407c6e6e7e79cf007a4194c18ffe0759.zip |
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
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/misterhouse/files/misterhouse.init | 2 | ||||
-rw-r--r-- | app-misc/misterhouse/misterhouse-2.103-r1.ebuild | 50 | ||||
-rw-r--r-- | app-misc/misterhouse/misterhouse-2.105-r1.ebuild | 52 |
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 +} |