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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Dec 7 22:43:26 2010 UTC (8 years, 9 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old version

(Portage version: 2.1.9.24/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.53.ebuild,v 1.3 2010/10/28 10:37:49 ssuominen Exp $
4
5 DESCRIPTION="Graphical frontend for managing and running SSH and SCP connections"
6 HOMEPAGE="http://themediahost.de/secpanel/"
7
8 SRC_URI="http://themediahost.de/secpanel/data/${P/53/5.3}.tgz"
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}"
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}"/usr/local/bin/secpanel
28 eend $?
29 fi
30 }
31
32 src_compile() {
33 if ! use gif; then
34 cd "${S}"/usr/local/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}"/usr/local/bin/secpanel
51 dodir /usr/lib/secpanel /usr/lib/secpanel/images
52
53 insinto /usr/lib/secpanel
54 doins "${S}"/usr/local/lib/secpanel/*.{tcl,config,profile,dist,wait}
55
56 insinto /usr/lib/secpanel/images
57
58 if ! use gif; then
59 doins "${S}"/usr/local/lib/secpanel/images/*.ppm
60 else
61 doins "${S}"/usr/local/lib/secpanel/images/*.gif
62 fi
63
64 fperms 755 /usr/lib/secpanel/{listserver.tcl,secpanel.dist,secpanel.wait}
65
66 cd "${S}"/usr/share/doc/${P/53/5.3/}
67 dodoc CHANGES README
68 }

  ViewVC Help
Powered by ViewVC 1.1.20