-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit autotools eutils user systemd
}
src_prepare() {
+ default
# respect DESTDIR
sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
# fix configure.ac for >=automake-1.13 (bug #467582)
}
src_install() {
+ local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/* )
default
prune_libtool_files --all
keepdir /var/spool/uptimed
fowners uptimed:uptimed /var/spool/uptimed
- dodoc ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/*
newinitd "${FILESDIR}"/${PN}.init uptimed
systemd_dounit "${FILESDIR}/${PN}.service"
}