diff options
-rw-r--r-- | app-office/calcurse/Manifest | 1 | ||||
-rw-r--r-- | app-office/calcurse/calcurse-4.0.0.ebuild | 28 | ||||
-rw-r--r-- | app-office/calcurse/files/calcurse-4.0.0-tinfo.patch | 21 |
3 files changed, 50 insertions, 0 deletions
diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest index db08757c2f96..a2ad835d453d 100644 --- a/app-office/calcurse/Manifest +++ b/app-office/calcurse/Manifest @@ -1,2 +1,3 @@ DIST calcurse-3.1.4.tar.gz 684526 SHA256 4121b3b14ded3583af7613a99646332701ee2ccc8cf2b87397eb3c07b97390e3 SHA512 efdb655f96a176ca45a23a6246987735413a69046e5273efafffd5d2087f880969f84e387dd84672dacc8fae670a86ee7b132f6a4662e072ba92121492fd7ca7 WHIRLPOOL cc0802f6128068419de98524fcd984cf3213ca7f7f2cc003b122c808aed858230a87f387682368379329d0205bb42a55d232e5cf82f639535ffdda8ab51d9fa7 DIST calcurse-3.2.1.tar.gz 606098 SHA256 05d5516808f98eee3d1eb8d379aa88cb24afc2b7a3eac046e46247013a61223d SHA512 1aaba75144d4da4caf48f0ff566efc0fe4977e41be0f929b4f13611c12fc849da2185fd132f93723aefc8b965eb4ee6fe2f20eb05d3eecd094891841d613c0df WHIRLPOOL a1c93608aaf136188776993663de757ea4193c6cbbe5c837bc74a7ae5564bad1682b6c4a9f96db106532b4338104859da96b4fdccb2c34963c1e9a1c310517d2 +DIST calcurse-4.0.0.tar.gz 611593 SHA256 621b0019907618bd468f9c4dc1ce2186ee86254d3c9ade47dd2d7ab8e6656334 SHA512 42a1b317bfd38974cbe4a4d3d1c848b8cd09233fc71f1f3ce36daf33352d9caffd7926c75d5e7ae6dd1138b8735a5244d5411fa1875a3262f1dc37c0a101d38c WHIRLPOOL dd5e938f2536e079d4cc2437fea057c5ad4d450dc7d2cc7763101192c9f9abf3800d2c08edea8163645e525eaf8e1fdcc5199c91e78a2c8933f66139dafdba3a diff --git a/app-office/calcurse/calcurse-4.0.0.ebuild b/app-office/calcurse/calcurse-4.0.0.ebuild new file mode 100644 index 000000000000..d81f3e7e94ac --- /dev/null +++ b/app-office/calcurse/calcurse-4.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +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" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + epatch "${FILESDIR}"/"${P}-tinfo.patch" + + # Dubious tests. + rm -v "${S}/test"/ical-00{2,4,6}.sh || die + + eautoreconf +} diff --git a/app-office/calcurse/files/calcurse-4.0.0-tinfo.patch b/app-office/calcurse/files/calcurse-4.0.0-tinfo.patch new file mode 100644 index 000000000000..f3d2aac897e9 --- /dev/null +++ b/app-office/calcurse/files/calcurse-4.0.0-tinfo.patch @@ -0,0 +1,21 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + #------------------------------------------------------------------------------- + AC_PREREQ(2.59) + AC_INIT([calcurse], +- m4_esyscmd([build-aux/git-version-gen .version]), ++ m4_esyscmd_s([cat .version]), + [bugs@calcurse.org]) + AM_INIT_AUTOMAKE + #m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) +@@ -51,6 +51,9 @@ + LIBS="$LIBS -l$available_ncurses" + ]) + ++AC_SEARCH_LIBS([cbreak], [tinfow tinfo],, ++ AC_MSG_ERROR([Cannot find a library providing cbreak])) ++ + AC_CHECK_HEADERS([pthread.h], [ + AC_CHECK_LIB(pthread, pthread_create, [ + LIBS="$LIBS -pthread" |