You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
13 years ago
|
|
||
|
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"
|
||
|
|
||
11 years ago
|
QA_PREBUILT="opt/misterhouse/bin/viavoice_server"
|
||
|
|
||
13 years ago
|
RDEPEND="dev-lang/perl
|
||
8 years ago
|
tk? ( dev-perl/Tk
|
||
13 years ago
|
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
|
||
|
}
|