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/abook/abook-0.6.1-r1.ebuild

54 lines
943 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
MY_P="${P/_/}"
DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client"
HOMEPAGE="http://abook.sourceforge.net/"
SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="nls"
RDEPEND="
sys-libs/ncurses
sys-libs/readline
dev-libs/libvformat
nls? ( virtual/libintl )"
DEPEND="nls? ( sys-devel/gettext )"
S="${WORKDIR}/${MY_P}"
DOCS=( BUGS ChangeLog FAQ README TODO sample.abookrc )
PATCHES=(
"${FILESDIR}"/${PN}-0.6.1-tinfo.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--with-curses \
--with-readline \
--enable-vformat \
$(use_enable nls)
}
src_compile() {
# bug 570428
emake CFLAGS="${CFLAGS} -std=gnu89"
}
src_install() {
default
}