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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Mar 25 18:06:58 2008 UTC (11 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
alpha/x86 stable, remove old
(Portage version: 2.1.4.4)

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

  ViewVC Help
Powered by ViewVC 1.1.20