diff options
author | Cédric Krier <cedk@gentoo.org> | 2020-05-24 19:23:00 +0200 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2020-05-24 19:23:54 +0200 |
commit | 4005f7db3a9be036144792e24e1ab8446b52f3a2 (patch) | |
tree | 5fc9f10d36ab6b4ce44e01014a1848a065e4dc65 /app-misc/abook/abook-0.6.1-r2.ebuild | |
parent | sys-devel/crossdev: stable for ALLARCHES (diff) | |
download | gentoo-4005f7db3a9be036144792e24e1ab8446b52f3a2.tar.gz gentoo-4005f7db3a9be036144792e24e1ab8446b52f3a2.tar.bz2 gentoo-4005f7db3a9be036144792e24e1ab8446b52f3a2.zip |
app-misc/abook: Fix link to tinfo and vformat
Closes: https://bugs.gentoo.org/679322
Bug: https://bugs.gentoo.org/699968
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Cédric Krier <cedk@gentoo.org>
Diffstat (limited to 'app-misc/abook/abook-0.6.1-r2.ebuild')
-rw-r--r-- | app-misc/abook/abook-0.6.1-r2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/abook/abook-0.6.1-r2.ebuild b/app-misc/abook/abook-0.6.1-r2.ebuild new file mode 100644 index 000000000000..787ecf2af568 --- /dev/null +++ b/app-misc/abook/abook-0.6.1-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# 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 + "${FILESDIR}"/${PN}-0.6.1-vformat.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 +} |