summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-01-19 22:38:08 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-20 22:19:11 +0100
commit7797474fdb3ccab4c7291f5bf4c71e160a3486c5 (patch)
treee22f141267fcd4e888ad85347b2db31bf7bbcd53 /app-misc/calendar
parentx11-misc/xclip: tidy up ebuild. (diff)
downloadgentoo-7797474fdb3ccab4c7291f5bf4c71e160a3486c5.tar.gz
gentoo-7797474fdb3ccab4c7291f5bf4c71e160a3486c5.tar.bz2
gentoo-7797474fdb3ccab4c7291f5bf4c71e160a3486c5.zip
app-misc/calendar: EAPI 6 bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/calendar')
-rw-r--r--app-misc/calendar/calendar-0.9.1-r1.ebuild29
1 files changed, 29 insertions, 0 deletions
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 000000000000..f320572b6a3d
--- /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
+}