You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-office/calcurse/calcurse-2.9.2.ebuild

43 lines
1.1 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.9.2.ebuild,v 1.4 2013/01/08 15:46:15 jer Exp $
inherit eutils
DESCRIPTION="a text-based personal organizer"
HOMEPAGE="http://calcurse.org"
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_nl linguas_ru"
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 NEWS README TODO
}