/[gentoo-x86]/net-misc/mosh/mosh-9999.ebuild
Gentoo

Contents of /net-misc/mosh/mosh-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Fri Jun 26 10:32:25 2015 UTC (4 years, 5 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +2 -2 lines
Update location of bash completion

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/mosh-9999.ebuild,v 1.16 2015/06/24 10:31:21 mrueg Exp $
4
5 EAPI=5
6
7 inherit autotools bash-completion-r1 git-r3
8
9 DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
10 HOMEPAGE="http://mosh.mit.edu"
11 EGIT_REPO_URI="https://github.com/keithw/mosh.git"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE="+client examples +mosh-hardening +server ufw +utempter"
17 REQUIRED_USE="|| ( client server )
18 examples? ( client )"
19
20 RDEPEND="dev-libs/protobuf
21 sys-libs/ncurses:5
22 virtual/ssh
23 client? ( dev-lang/perl
24 dev-perl/IO-Tty )
25 utempter? ( sys-libs/libutempter )"
26 DEPEND="${RDEPEND}
27 dev-vcs/git[curl]
28 virtual/pkgconfig"
29
30 src_prepare() {
31 eautoreconf
32 }
33
34 src_configure() {
35 econf \
36 --disable-completion \
37 $(use_enable client) \
38 $(use_enable server) \
39 $(use_enable examples) \
40 $(use_enable ufw) \
41 $(use_enable mosh-hardening hardening) \
42 $(use_with utempter)
43 }
44
45 src_compile() {
46 emake V=1
47 }
48
49 src_install() {
50 default
51
52 for myprog in $(find src/examples -type f -perm /0111) ; do
53 newbin ${myprog} ${PN}-$(basename ${myprog})
54 elog "${myprog} installed as ${PN}-$(basename ${myprog})"
55 done
56
57 # bug 477384
58 dobashcomp conf/bash-completion/completions/mosh
59 }

  ViewVC Help
Powered by ViewVC 1.1.20