diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-02 09:16:06 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-02 09:16:20 +0100 |
commit | 51b4c207ef6ab9fe86461f662b4182c29ab0fda9 (patch) | |
tree | 874b13fc35fd0be28d07c52b4775a53cda9c2201 /app-misc/uptimed | |
parent | sci-chemistry/freeon: Fix compilation error (diff) | |
download | gentoo-51b4c207ef6ab9fe86461f662b4182c29ab0fda9.tar.gz gentoo-51b4c207ef6ab9fe86461f662b4182c29ab0fda9.tar.bz2 gentoo-51b4c207ef6ab9fe86461f662b4182c29ab0fda9.zip |
app-misc/uptimed: Bump to EAPI-6.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-misc/uptimed')
-rw-r--r-- | app-misc/uptimed/uptimed-0.4.0.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app-misc/uptimed/uptimed-0.4.0.ebuild b/app-misc/uptimed/uptimed-0.4.0.ebuild index 50530a0cea31..5d427d657acb 100644 --- a/app-misc/uptimed/uptimed-0.4.0.ebuild +++ b/app-misc/uptimed/uptimed-0.4.0.ebuild @@ -1,8 +1,8 @@ -# 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 @@ -21,6 +21,7 @@ pkg_setup() { } 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) @@ -33,11 +34,11 @@ src_configure() { } 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" } |