/[gentoo-x86]/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild
Gentoo

Contents of /net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 26 23:12:48 2009 UTC (10 years, 6 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix compiler warning (thanks to ulm) and QA cleanup of the ebuild: added die message, EAPI-2, style changes
(Portage version: 2.1.6.7/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild,v 1.1 2009/02/25 22:26:59 ulm Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="A small SSH Askpass replacement written with GTK2."
8 HOMEPAGE="https://www.cgabriel.org/software/wiki/SshAskpassFullscreen"
9 SRC_URI="http://www.cgabriel.org/download/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
14 IUSE=""
15
16 RDEPEND=">=x11-libs/gtk+-2.0
17 !net-misc/gtk2-ssh-askpass"
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}/${P}-fix-grab.patch"
25 sed -i -e '2 s/$/$\(LDFLAGS\)/' Makefile
26 }
27
28 src_compile() {
29
30 sed "s:gcc:$(tc-getCC) ${CFLAGS}:g" \
31 -i Makefile
32
33 emake LDFLAGS="${LDFLAGS}" || \
34 die "compile failed"
35 }
36
37 src_install() {
38 dobin ssh-askpass-fullscreen || die "dobin failed"
39 doenvd "${FILESDIR}"/99ssh_askpass || die "doenvd failed"
40 dodoc README AUTHORS
41 #doman debian/gtk2-ssh-askpass.1
42 }

  ViewVC Help
Powered by ViewVC 1.1.20