app-misc/gcal: version bump to 4.1.
authorAlberto Sartori <alberto.sartori86@gmail.com>
Sat, 23 Dec 2017 22:22:47 +0000 (23:22 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 26 Jan 2018 21:26:35 +0000 (22:26 +0100)
Closes: https://github.com/gentoo/gentoo/pull/6614

app-misc/gcal/Manifest
app-misc/gcal/gcal-4.1.ebuild [new file with mode: 0644]

index dc2b465158895bdd0b093b8d77c34ddd24f6ffd1..6e5c89893fa819106855309cd972b8aefd42733b 100644 (file)
@@ -1 +1,2 @@
 DIST gcal-3.6.3.tar.xz 1640172 BLAKE2B 322a3bf34a389ab92daa0262b8b36f99b585c7f76e46e5a921a5e23ced74ae98bf09446e02988c98c29ecadf631b6624cb43e76c8da736a185e52ed34441c334 SHA512 9be7d6e58a55fbb7531f91bd2a6fa51e8d62364636c31d8d65f6ac24415ac2de8af5eaab8496e155c2820b7480ecf926c4395114ff4363deb21bd268dec44963
+DIST gcal-4.1.tar.xz 1658948 BLAKE2B 980b509923d7e3afbd391f1129a77e647f61e09d68aec29490bc16041260e56082097732f015260515036a4560bee18391c8f6aaa5eaff69740f18a37a44d8f2 SHA512 24b9ee87c3dbfd3231b2017fd0a3030cc5b7c7fde032ea1fcf816b0f10dc40d808c646aa8ece86651da4f3928fecf35f84f4c68c0bfdb8cf63e3ecc189d2074d
diff --git a/app-misc/gcal/gcal-4.1.ebuild b/app-misc/gcal/gcal-4.1.ebuild
new file mode 100644 (file)
index 0000000..da50405
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Calendar - a replacement for cal"
+HOMEPAGE="https://www.gnu.org/software/gcal/"
+SRC_URI="mirror://gnu/gcal/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="ncurses nls unicode"
+
+DEPEND="
+       app-arch/xz-utils
+       nls? ( >=sys-devel/gettext-0.17 )"
+
+RDEPEND="nls? ( virtual/libintl )"
+
+DOCS=( BUGS LIMITATIONS NEWS README THANKS TODO )
+
+src_configure() {
+       tc-export CC
+       append-cppflags -D_GNU_SOURCE
+       econf \
+               --disable-rpath \
+               $(use_enable nls) \
+               $(use_enable ncurses term) \
+               $(use_enable unicode)
+}