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-misc/gcal/gcal-3.6.ebuild

35 lines
861 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.6.ebuild,v 1.7 2011/04/12 22:26:44 abcd Exp $
EAPI="3"
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="The GNU Calendar - a replacement for cal"
HOMEPAGE="http://www.gnu.org/software/gcal/"
SRC_URI="mirror://gnu/gcal/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="ncurses nls"
DEPEND="nls? ( >=sys-devel/gettext-0.17 )"
RDEPEND=""
src_configure() {
tc-export CC
append-flags -D_GNU_SOURCE
econf \
--disable-rpath \
$(use_enable nls) \
$(use_enable ncurses term)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc BUGS LIMITATIONS NEWS README THANKS TODO || die
}