commit: 7797474fdb3ccab4c7291f5bf4c71e160a3486c5 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Thu Jan 19 21:38:08 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Fri Jan 20 21:19:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7797474f
app-misc/calendar: EAPI 6 bump. Package-Manager: portage-2.3.0 app-misc/calendar/calendar-0.9.1-r1.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/app-misc/calendar/calendar-0.9.1-r1.ebuild b/app-misc/calendar/calendar-0.9.1-r1.ebuild new file mode 100644 index 00000000..f320572 --- /dev/null +++ b/app-misc/calendar/calendar-0.9.1-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Standard unix calendar program for Linux, ported from OpenBSD" +HOMEPAGE="http://bsdcalendar.sourceforge.net/" +SRC_URI="http://bsdcalendar.sourceforge.net/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DOCS=( README ) + +src_compile() { + tc-export CC + emake +} + +src_install() { + cp -R "${S}/calendars" "${D}/usr/share/calendar" || die "cp failed" + dobin "${PN}" + doman "${PN}.1" + einstalldocs +}