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

Contents of /net-misc/mosh/mosh-1.1.94d.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 24 10:40:44 2012 UTC (7 years, 7 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.1.94d.ebuild,v 1.1 2012/04/21 11:04:21 xmw Exp $
4
5 EAPI=4
6
7 inherit autotools toolchain-funcs
8
9 DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
10 HOMEPAGE="http://mosh.mit.edu"
11 SRC_URI="mirror://gentoo/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+client examples +server +utempter"
17 REQUIRED_USE="|| ( client server )
18 examples? ( client )"
19
20 RDEPEND="dev-libs/protobuf
21 dev-libs/skalibs
22 sys-libs/ncurses:5
23 virtual/ssh
24 client? ( dev-lang/perl
25 dev-perl/IO-Tty )
26 utempter? ( sys-libs/libutempter )"
27 DEPEND="${RDEPEND}
28 dev-util/pkgconfig"
29
30 src_prepare() {
31 einfo remove bundled skalibs
32 rm -r third || die
33 sed -e '/third/d' -i configure.ac
34 sed -e '/^SUBDIRS/s: third : :' -i Makefile.am
35
36 eautoreconf
37 }
38
39 src_configure() {
40 econf \
41 --with-skalibs=/ \
42 --with-skalibs-include=/usr/include/skalibs \
43 --with-skalibs-libdir=/usr/$(get_libdir)/skalibs \
44 $(use_enable client) \
45 $(use_enable server) \
46 $(use_enable examples) \
47 $(use_with utempter)
48 }
49
50 src_install() {
51 default
52
53 for myprog in $(find src/examples -type f -perm /0111) ; do
54 newbin ${myprog} ${PN}-$(basename ${myprog})
55 elog "${myprog} installed as ${PN}-$(basename ${myprog})"
56 done
57 }

  ViewVC Help
Powered by ViewVC 1.1.20