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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jul 26 18:16:50 2015 UTC (2 years, 2 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump (bug 555794, thanks DrSlony for reminding me).

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

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-1.2.4.ebuild,v 1.8 2014/04/06 11:41:31 grobian Exp $
4
5 EAPI=4
6
7 inherit autotools bash-completion-r1 eutils vcs-snapshot
8
9 DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
10 HOMEPAGE="http://mosh.mit.edu"
11 SRC_URI="http://mosh.mit.edu/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
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 virtual/pkgconfig"
28
29 src_prepare() {
30 # avoid sandbox-violation calling git describe in Makefile
31 epatch "${FILESDIR}"/${P}-git-version.patch
32
33 eautoreconf
34 }
35
36 src_configure() {
37 econf \
38 --disable-completion \
39 $(use_enable client) \
40 $(use_enable server) \
41 $(use_enable examples) \
42 $(use_enable ufw) \
43 $(use_enable mosh-hardening hardening) \
44 $(use_with utempter)
45 }
46
47 src_compile() {
48 emake V=1
49 }
50
51 src_install() {
52 default
53
54 for myprog in $(find src/examples -type f -perm /0111) ; do
55 newbin ${myprog} ${PN}-$(basename ${myprog})
56 elog "${myprog} installed as ${PN}-$(basename ${myprog})"
57 done
58
59 # bug 477384
60 dobashcomp conf/bash-completion/completions/mosh
61 }

  ViewVC Help
Powered by ViewVC 1.1.20