summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-01-26 15:58:18 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-01-26 15:58:18 +0000
commitba60a47071aef4d87b58f5201424f711beac1d31 (patch)
tree29e07b24bdbc0353007f7e62aacc7895bb50117f /net-misc/secpanel/secpanel-0.53.ebuild
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadhistorical-ba60a47071aef4d87b58f5201424f711beac1d31.tar.gz
historical-ba60a47071aef4d87b58f5201424f711beac1d31.tar.bz2
historical-ba60a47071aef4d87b58f5201424f711beac1d31.zip
Version bump, alpha/x86 stable, remove old
Package-Manager: portage-2.1.4
Diffstat (limited to 'net-misc/secpanel/secpanel-0.53.ebuild')
-rw-r--r--net-misc/secpanel/secpanel-0.53.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/secpanel/secpanel-0.53.ebuild b/net-misc/secpanel/secpanel-0.53.ebuild
new file mode 100644
index 000000000000..0b61ec00fd94
--- /dev/null
+++ b/net-misc/secpanel/secpanel-0.53.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/secpanel-0.53.ebuild,v 1.1 2008/01/26 15:58:17 armin76 Exp $
+
+DESCRIPTION="Graphical frontend for managing and running SSH and SCP connections"
+HOMEPAGE="http://themediahost.de/secpanel/"
+
+SRC_URI="http://themediahost.de/secpanel/data/${P/53/5.3}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86 ~alpha ~sparc ~amd64"
+IUSE="gif"
+
+DEPEND="!gif? ( media-gfx/imagemagick )"
+
+RDEPEND="virtual/ssh dev-lang/tk"
+
+S="${WORKDIR}"
+
+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}/usr/local/bin/secpanel
+ eend $?
+ fi
+}
+
+src_compile() {
+ if ! use gif; then
+ cd ${S}/usr/local/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
+}
+
+src_install() {
+ dobin ${S}/usr/local/bin/secpanel
+ dodir /usr/lib/secpanel /usr/lib/secpanel/images
+
+ insinto /usr/lib/secpanel
+ doins ${S}/usr/local/lib/secpanel/*.{tcl,config,profile,dist,wait}
+
+ insinto /usr/lib/secpanel/images
+
+ if ! use gif; then
+ doins ${S}/usr/local/lib/secpanel/images/*.ppm
+ else
+ doins ${S}/usr/local/lib/secpanel/images/*.gif
+ fi
+
+ fperms 755 /usr/lib/secpanel/{listserver.tcl,secpanel.dist,secpanel.wait}
+
+ cd ${S}/usr/share/doc/${P/53/5.3/}
+ dodoc CHANGES README
+}