1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Monitoring daemon serving statistics to your iStat iPhone application"
9 HOMEPAGE="http://bjango.com/apps/istat/"
10 SRC_URI="http://github.com/downloads/tiwilliam/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="dev-libs/libxml2"
22 enewuser istatd -1 -1 -1 "istatd"
26 econf $(use_with qnaptemp)
30 emake DESTDIR="${D}" install || die "Install failed"
32 dodir /var/{run,cache}/${PN} || die
33 fowners istatd:istatd /var/{run,cache}/${PN} || die
35 newinitd "${FILESDIR}/istatd-init" ${PN} || die
36 newconfd "${FILESDIR}/istatd-conf" ${PN} || die
38 dodoc AUTHORS.txt DEVELOPERS.txt CHANGELOG.txt README.txt || die