app-misc/abook: version bump to 0.6.1
authorEray Aslan <eras@gentoo.org>
Mon, 4 Jan 2016 19:36:35 +0000 (21:36 +0200)
committerEray Aslan <eras@gentoo.org>
Mon, 4 Jan 2016 19:36:35 +0000 (21:36 +0200)
Package-Manager: portage-2.2.26

app-misc/abook/Manifest
app-misc/abook/abook-0.6.1.ebuild [new file with mode: 0644]

index e154d0f2db1bb9afc7c5c248cc57db894030fc4e..c266294a5ae659dbe082e0cd8ad440dd3af3b8ff 100644 (file)
@@ -1 +1,2 @@
 DIST abook-0.6.0pre2.tar.gz 411412 SHA256 59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385 SHA512 d1bc437981964a5dd873b12458833c60306d37b36904a04b072cefe7501175933dd7817ca51f8634bbd6722f79f768b39e00b68d0699086d5efaf28d0cbdf1ed WHIRLPOOL fbaed8cc4dff1b7b7786c4f5b4124e94893d59e97b67372b0b1f1cf176a16ef23141c37255589cfb352f1e4993ae69d1f77077f2396aaa2c482e85b3c617fc5f
+DIST abook-0.6.1.tar.gz 319558 SHA256 f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9 SHA512 993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66 WHIRLPOOL 5257a6000707ea58f21fa95841edcfcdb8a1f4921fa452b8aefdbd9bd2eecba01078d116d0e79316bde5b484a721640ffc501c0402a6601803c9312e1e4a2e6a
diff --git a/app-misc/abook/abook-0.6.1.ebuild b/app-misc/abook/abook-0.6.1.ebuild
new file mode 100644 (file)
index 0000000..ee129ac
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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 ~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}"
+
+src_prepare() {
+       # TODO: do the right thing and find out whats wrong with Makefile.in
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --with-curses \
+               --with-readline \
+               --enable-vformat \
+               $(use_enable nls)
+}
+
+src_compile() {
+       # bug 570428
+       emake CFLAGS="${CFLAGS} -std=gnu89"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       dodoc BUGS ChangeLog FAQ README TODO sample.abookrc
+}