summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/secpanel/secpanel-0.41.ebuild')
-rw-r--r--net-misc/secpanel/secpanel-0.41.ebuild47
1 files changed, 8 insertions, 39 deletions
diff --git a/net-misc/secpanel/secpanel-0.41.ebuild b/net-misc/secpanel/secpanel-0.41.ebuild
index 13b350384e80..2096dd6201d8 100644
--- a/net-misc/secpanel/secpanel-0.41.ebuild
+++ b/net-misc/secpanel/secpanel-0.41.ebuild
@@ -1,48 +1,22 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/secpanel-0.41.ebuild,v 1.8 2005/04/19 12:16:26 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/secpanel-0.41.ebuild,v 1.1 2003/10/30 11:19:57 taviso Exp $
-DESCRIPTION="Graphical frontend for managing and running SSH and SCP connections"
+DESCRIPTION="X11 Frontend for OpenSSH"
HOMEPAGE="http://www.pingx.net/secpanel/"
SRC_URI="http://www.pingx.net/secpanel/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 alpha"
-IUSE="gif"
+KEYWORDS="~x86 ~alpha"
+IUSE=""
-DEPEND="!gif? ( media-gfx/imagemagick )"
+DEPEND=""
RDEPEND="virtual/ssh dev-lang/tk"
-src_unpack() {
- unpack ${A}
-
- # optionally remove gifs...
- if ! use gif; then
- ebegin "Setting secpanel to use PPM images"
- sed -i 's/\.gif/\.ppm/g' ${S}/src/bin/secpanel
- eend $?
- fi
-}
-
-src_compile() {
- if ! use gif; then
- cd ${S}/src/lib/secpanel/images
- einfo "Converting all GIF images to PPM format..."
- for i in *.gif
- do
- ebegin " ${i} => ${i//.gif/.ppm}"
- convert ${i} "ppm:${i//.gif/.ppm}" || {
- eend $?
- die "convert failed"
- }
- eend $?
- done
- einfo "done."
- fi
-}
+S=${WORKDIR}/${P}
src_install() {
dobin ${S}/src/bin/secpanel
@@ -52,12 +26,7 @@ src_install() {
doins ${S}/src/lib/secpanel/*.{tcl,config,profile,dist,wait}
insinto /usr/lib/secpanel/images
-
- if ! use gif; then
- doins ${S}/src/lib/secpanel/images/*.ppm
- else
- doins ${S}/src/lib/secpanel/images/*.gif
- fi
+ doins ${S}/src/lib/secpanel/images/*.gif
fperms 755 /usr/lib/secpanel/{listserver.tcl,secpanel.dist,secpanel.wait}