summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/calcurse/calcurse-4.2.2.ebuild')
-rw-r--r--app-office/calcurse/calcurse-4.2.2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/app-office/calcurse/calcurse-4.2.2.ebuild b/app-office/calcurse/calcurse-4.2.2.ebuild
new file mode 100644
index 000000000000..4af524c07dbf
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils autotools multilib-minimal
+
+DESCRIPTION="a text-based calendar and scheduling application"
+HOMEPAGE="http://calcurse.org/"
+SRC_URI="http://calcurse.org/files/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+
+PATCHES=( "${FILESDIR}"/"${P}-tinfo.patch" )
+
+src_prepare() {
+ default
+
+ # Dubious tests.
+ rm -v "${S}/test"/ical-00{2,4,6}.sh || die
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf
+}
+
+src_compile() {
+ multilib-minimal_src_compile
+}
+
+src_install() {
+ multilib-minimal_src_install
+}