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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Apr 6 11:41:31 2014 UTC (5 years, 8 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Keyworded ~x64-macos, bug #506494

(Portage version: 2.2.8-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)

1 # Copyright 1999-2014 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.7 2013/12/14 21:02:45 bicatali Exp $
4
5 EAPI=4
6
7 inherit autotools bash-completion-r1 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 eautoreconf
31 }
32
33 src_configure() {
34 econf \
35 --disable-completion \
36 $(use_enable client) \
37 $(use_enable server) \
38 $(use_enable examples) \
39 $(use_enable ufw) \
40 $(use_enable mosh-hardening hardening) \
41 $(use_with utempter)
42 }
43
44 src_compile() {
45 emake V=1
46 }
47
48 src_install() {
49 default
50
51 for myprog in $(find src/examples -type f -perm /0111) ; do
52 newbin ${myprog} ${PN}-$(basename ${myprog})
53 elog "${myprog} installed as ${PN}-$(basename ${myprog})"
54 done
55
56 # bug 477384
57 dobashcomp conf/bash_completion.d/mosh
58 }

  ViewVC Help
Powered by ViewVC 1.1.20