diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-04-19 08:40:01 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-04-19 08:40:01 +0000 |
commit | 4242371609a4f3147b1a60cc58ea53b6dbdf8109 (patch) | |
tree | 3ba82cd631d605150cb8a8bd881060453f33e818 /app-office/calcurse | |
parent | app-text/html-xml-utils: Version bump. (diff) | |
download | gentoo-4242371609a4f3147b1a60cc58ea53b6dbdf8109.tar.gz gentoo-4242371609a4f3147b1a60cc58ea53b6dbdf8109.tar.bz2 gentoo-4242371609a4f3147b1a60cc58ea53b6dbdf8109.zip |
app-office/calcurse: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-office/calcurse')
-rw-r--r-- | app-office/calcurse/Manifest | 1 | ||||
-rw-r--r-- | app-office/calcurse/calcurse-4.1.0.ebuild | 43 | ||||
-rw-r--r-- | app-office/calcurse/files/calcurse-4.1.0-tinfo.patch | 21 |
3 files changed, 65 insertions, 0 deletions
diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest index bfca4f3f579d..b2e59d309f5e 100644 --- a/app-office/calcurse/Manifest +++ b/app-office/calcurse/Manifest @@ -1 +1,2 @@ DIST calcurse-4.0.0.tar.gz 611593 SHA256 621b0019907618bd468f9c4dc1ce2186ee86254d3c9ade47dd2d7ab8e6656334 SHA512 42a1b317bfd38974cbe4a4d3d1c848b8cd09233fc71f1f3ce36daf33352d9caffd7926c75d5e7ae6dd1138b8735a5244d5411fa1875a3262f1dc37c0a101d38c WHIRLPOOL dd5e938f2536e079d4cc2437fea057c5ad4d450dc7d2cc7763101192c9f9abf3800d2c08edea8163645e525eaf8e1fdcc5199c91e78a2c8933f66139dafdba3a +DIST calcurse-4.1.0.tar.gz 611105 SHA256 ca423f8c8dfbb92cd63281305fa23c2909a6aefcee9e86317584fff7619b42c4 SHA512 74312995e398edf0bc30bdf6c28e5894f21358d5b85bdff403425685905dd7f511a3244acd3983bc28d8d3bc90a79a2e83fc76554d7e5c9ef9dc16d18832e09a WHIRLPOOL 2a3c86f5f79903911f0aa38e3f32350770d5f839cbf460b288e64b20b315422a95bd64caec5fb9f5c9f366e9b3b5031f235ddaf89b40183360886b9f066c58d3 diff --git a/app-office/calcurse/calcurse-4.1.0.ebuild b/app-office/calcurse/calcurse-4.1.0.ebuild new file mode 100644 index 000000000000..aab28075e4ad --- /dev/null +++ b/app-office/calcurse/calcurse-4.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 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 ) + +src_prepare() { + default + + epatch "${FILESDIR}"/"${P}-tinfo.patch" + + # 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 +} diff --git a/app-office/calcurse/files/calcurse-4.1.0-tinfo.patch b/app-office/calcurse/files/calcurse-4.1.0-tinfo.patch new file mode 100644 index 000000000000..f3d2aac897e9 --- /dev/null +++ b/app-office/calcurse/files/calcurse-4.1.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" |