diff options
Diffstat (limited to 'net-misc/bti/bti-031-r1.ebuild')
-rw-r--r-- | net-misc/bti/bti-031-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/bti/bti-031-r1.ebuild b/net-misc/bti/bti-031-r1.ebuild new file mode 100644 index 000000000000..d6cf7562cc44 --- /dev/null +++ b/net-misc/bti/bti-031-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit bash-completion-r1 eutils + +DESCRIPTION="A command line twitter/identi.ca client" +HOMEPAGE="http://gregkh.github.com/bti/" +SRC_URI="mirror://kernel/software/web/bti/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +RDEPEND=" + net-misc/curl + dev-libs/libxml2 + dev-libs/libpcre + net-libs/liboauth +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +# Readline is dynamically loaded, for whatever reason, and can use +# libedit as an alternative... +RDEPEND="${RDEPEND} + || ( sys-libs/readline dev-libs/libedit )" + +DOCS=( bti.example README RELEASE-NOTES ) + +src_prepare() { + # Allow compilation on non-GNU systems, bug #384311 + epatch "${FILESDIR}/${PN}-031-nonGNU.patch" +} + +src_install() { + default + dobashcomp bti-bashcompletion +} |