32 lines
870 B
Bash
32 lines
870 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.6.1.ebuild,v 1.5 2012/07/29 17:16:17 armin76 Exp $
|
|
|
|
EAPI="4"
|
|
|
|
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.xz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ppc x86 ~x86-interix ~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-flags -D_GNU_SOURCE
|
|
econf \
|
|
--disable-rpath \
|
|
$(use_enable nls) \
|
|
$(use_enable ncurses term) \
|
|
$(use_enable unicode)
|
|
}
|