summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-10-25 12:58:41 +0000
committerCédric Krier <cedk@gentoo.org>2008-10-25 12:58:41 +0000
commit3cf6ee5f3a97dcc33eb50898107b33f3caf6bd38 (patch)
tree54243d7478a5435bae71f6b0d8a5c8b62fcf3e1a /app-office/calcurse
parentrespect CC variable, bug #244170 (diff)
downloadgentoo-2-3cf6ee5f3a97dcc33eb50898107b33f3caf6bd38.tar.gz
gentoo-2-3cf6ee5f3a97dcc33eb50898107b33f3caf6bd38.tar.bz2
gentoo-2-3cf6ee5f3a97dcc33eb50898107b33f3caf6bd38.zip
Version bump and fix IUSE
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-office/calcurse')
-rw-r--r--app-office/calcurse/ChangeLog9
-rw-r--r--app-office/calcurse/calcurse-2.1.ebuild6
-rw-r--r--app-office/calcurse/calcurse-2.3.ebuild46
-rw-r--r--app-office/calcurse/files/calcurse-2.3-cflags.patch12
4 files changed, 69 insertions, 4 deletions
diff --git a/app-office/calcurse/ChangeLog b/app-office/calcurse/ChangeLog
index f0238a6d493a..50f287167fd7 100644
--- a/app-office/calcurse/ChangeLog
+++ b/app-office/calcurse/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-office/calcurse
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/ChangeLog,v 1.6 2008/10/25 12:51:23 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/ChangeLog,v 1.7 2008/10/25 12:58:41 cedk Exp $
+
+*calcurse-2.3 (25 Oct 2008)
+
+ 25 Oct 2008; Cédric Krier <cedk@gentoo.org>
+ +files/calcurse-2.3-cflags.patch, calcurse-2.1.ebuild,
+ +calcurse-2.3.ebuild:
+ Version bump and fix IUSE
25 Oct 2008; Cédric Krier <cedk@gentoo.org>
+files/calcurse-2.1-cflags.patch, calcurse-2.1.ebuild:
diff --git a/app-office/calcurse/calcurse-2.1.ebuild b/app-office/calcurse/calcurse-2.1.ebuild
index 55916ad550e6..76ac07adfc37 100644
--- a/app-office/calcurse/calcurse-2.1.ebuild
+++ b/app-office/calcurse/calcurse-2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.1.ebuild,v 1.2 2008/10/25 12:51:23 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.1.ebuild,v 1.3 2008/10/25 12:58:41 cedk Exp $
inherit eutils autotools
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_it linguas_nl"
+IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_nl"
DEPEND="sys-libs/ncurses"
RDEPEND=${DEPEND}
@@ -32,7 +32,7 @@ src_compile() {
use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr"
use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de"
use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es"
- use linguas_it && ALL_LINGUAS="${ALL_LINGUAS} nl"
+ use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl"
ALL_LINGUAS="${ALL_LINGUAS}" econf || die "econf failed"
diff --git a/app-office/calcurse/calcurse-2.3.ebuild b/app-office/calcurse/calcurse-2.3.ebuild
new file mode 100644
index 000000000000..8b7126524785
--- /dev/null
+++ b/app-office/calcurse/calcurse-2.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.3.ebuild,v 1.1 2008/10/25 12:58:41 cedk Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="a text-based personal organizer"
+HOMEPAGE="http://culot.org/calcurse/index.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_nl"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm po/LINGUAS
+
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
+src_compile() {
+ local ALL_LINGUAS=""
+
+ use linguas_en && ALL_LINGUAS="${ALL_LINGUAS} en"
+ use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr"
+ use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de"
+ use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es"
+ use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl"
+
+ ALL_LINGUAS="${ALL_LINGUAS}" econf || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ dohtml doc/*.html
+}
diff --git a/app-office/calcurse/files/calcurse-2.3-cflags.patch b/app-office/calcurse/files/calcurse-2.3-cflags.patch
new file mode 100644
index 000000000000..515cf613c1b8
--- /dev/null
+++ b/app-office/calcurse/files/calcurse-2.3-cflags.patch
@@ -0,0 +1,12 @@
+diff -ru calcurse-2.3~/configure.ac calcurse-2.3/configure.ac
+--- calcurse-2.3~/configure.ac 2008-10-25 14:55:46.000000000 +0200
++++ calcurse-2.3/configure.ac 2008-10-25 14:55:57.000000000 +0200
+@@ -56,7 +56,7 @@
+ #-------------------------------------------------------------------------------
+ # Compilation options
+ #-------------------------------------------------------------------------------
+-CFLAGS="-O2 -Wall -g"
++CFLAGS += "-Wall -g"
+ #-------------------------------------------------------------------------------
+ # Create Makefiles
+ #-------------------------------------------------------------------------------