/[gentoo-x86]/net-misc/secpanel/secpanel-0.41.ebuild
Gentoo

Contents of /net-misc/secpanel/secpanel-0.41.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Jan 26 15:58:17 2008 UTC (10 years, 8 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Version bump, alpha/x86 stable, remove old
(Portage version: 2.1.4)

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/secpanel/secpanel-0.41.ebuild,v 1.8 2005/04/19 12:16:26 taviso Exp $
4
5 DESCRIPTION="Graphical frontend for managing and running SSH and SCP connections"
6 HOMEPAGE="http://www.pingx.net/secpanel/"
7
8 SRC_URI="http://www.pingx.net/secpanel/${P}.tar.gz"
9 LICENSE="GPL-2"
10 SLOT="0"
11
12 KEYWORDS="x86 alpha"
13 IUSE="gif"
14
15 DEPEND="!gif? ( media-gfx/imagemagick )"
16
17 RDEPEND="virtual/ssh dev-lang/tk"
18
19 src_unpack() {
20 unpack ${A}
21
22 # optionally remove gifs...
23 if ! use gif; then
24 ebegin "Setting secpanel to use PPM images"
25 sed -i 's/\.gif/\.ppm/g' ${S}/src/bin/secpanel
26 eend $?
27 fi
28 }
29
30 src_compile() {
31 if ! use gif; then
32 cd ${S}/src/lib/secpanel/images
33 einfo "Converting all GIF images to PPM format..."
34 for i in *.gif
35 do
36 ebegin " ${i} => ${i//.gif/.ppm}"
37 convert ${i} "ppm:${i//.gif/.ppm}" || {
38 eend $?
39 die "convert failed"
40 }
41 eend $?
42 done
43 einfo "done."
44 fi
45 }
46
47 src_install() {
48 dobin ${S}/src/bin/secpanel
49 dodir /usr/lib/secpanel /usr/lib/secpanel/images
50
51 insinto /usr/lib/secpanel
52 doins ${S}/src/lib/secpanel/*.{tcl,config,profile,dist,wait}
53
54 insinto /usr/lib/secpanel/images
55
56 if ! use gif; then
57 doins ${S}/src/lib/secpanel/images/*.ppm
58 else
59 doins ${S}/src/lib/secpanel/images/*.gif
60 fi
61
62 fperms 755 /usr/lib/secpanel/{listserver.tcl,secpanel.dist,secpanel.wait}
63
64 dodoc CHANGES COPYING README
65 }

  ViewVC Help
Powered by ViewVC 1.1.20