/[gentoo-x86]/net-misc/dropbear/dropbear-0.44.ebuild
Gentoo

Contents of /net-misc/dropbear/dropbear-0.44.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 12 23:31:30 2005 UTC (14 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
make sure we install manpages
(Portage version: 2.0.51.21-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.44.ebuild,v 1.2 2005/01/11 20:06:17 vapier Exp $
4
5 DESCRIPTION="small SSH 2 client/server designed for small memory environments"
6 HOMEPAGE="http://matt.ucc.asn.au/dropbear/"
7 SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2
8 http://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2"
9
10 LICENSE="MIT"
11 SLOT="0"
12 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~sh ~x86"
13 IUSE="zlib multicall static"
14
15 RDEPEND="zlib? ( sys-libs/zlib )"
16 DEPEND="${RDEPEND}
17 >=sys-apps/portage-2.0.51"
18
19 src_compile() {
20 econf $(use_enable zlib) || die
21
22 local makeopts=""
23 use multicall && makeopts="${makeopts} MULTI=1"
24 use static && makeopts="${makeopts} STATIC=1"
25 emake ${makeopts} || die "make failed"
26 }
27
28 src_install() {
29 local makeopts=""
30 use multicall && makeopts="${makeopts} MULTI=1"
31 use static && makeopts="${makeopts} STATIC=1"
32 make install DESTDIR="${D}" || die "make install failed"
33 newinitd ${FILESDIR}/dropbear.init.d dropbear
34 newconfd ${FILESDIR}/dropbear.conf.d dropbear
35 dodoc CHANGES README TODO SMALL MULTI
36
37 # The multi install target installs same binary
38 # multiple times ... lets clean that up
39 if use multicall ; then
40 cd "${D}"/usr/bin
41 local x
42 for x in * ; do
43 dosym ../sbin/dropbear /usr/bin/${x}
44 done
45 cd "${S}"
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20