summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2010-02-28 16:37:59 +0000
committerCédric Krier <cedk@gentoo.org>2010-02-28 16:37:59 +0000
commite9406127bc0c6693011c4216197f78aafd834920 (patch)
treed3f4814f29df659d882da3004a210e5e7e45f12c /app-office/calcurse/calcurse-2.7.ebuild
parentVersion bump (diff)
downloadhistorical-e9406127bc0c6693011c4216197f78aafd834920.tar.gz
historical-e9406127bc0c6693011c4216197f78aafd834920.tar.bz2
historical-e9406127bc0c6693011c4216197f78aafd834920.zip
Version bump
Package-Manager: portage-2.1.7.16/cvs/Linux i686
Diffstat (limited to 'app-office/calcurse/calcurse-2.7.ebuild')
-rw-r--r--app-office/calcurse/calcurse-2.7.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/app-office/calcurse/calcurse-2.7.ebuild b/app-office/calcurse/calcurse-2.7.ebuild
new file mode 100644
index 000000000000..154f775de061
--- /dev/null
+++ b/app-office/calcurse/calcurse-2.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.7.ebuild,v 1.1 2010/02/28 16:37:59 cedk Exp $
+
+inherit eutils
+
+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
+}
+
+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,css}
+}