# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit subversion DESCRIPTION="Daemon for communication with Viessmann Vito heatings" HOMEPAGE="https://github.com/openv/openv/" ESVN_REPO_URI="svn://svn.code.sf.net/p/vcontrold/code/trunk/@${PV}" ESVN_PROJECT="vcontrold" LICENSE="GPL-2" SLOT="0" KEYWORDS="~arm" IUSE="" DEPEND="dev-libs/libxml2" RDEPEND="${DEPEND}" S="${S}/vcontrold" src_unpack() { local S S=${WORKDIR}/${P} subversion_src_unpack } src_prepare() { epatch "${FILESDIR}/gnusrc.patch" chmod +x auto-build.sh ./auto-build.sh } src_install() { einstall doinitd "${FILESDIR}/vcontrold" dodir /etc/vcontrold cp -r "${WORKDIR}/${P}/xml-32/"* "${ED}/etc/vcontrold/" dodoc ../LIESMICH.txt AUTHORS README }