summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2005-04-19 12:16:26 +0000
committerTavis Ormandy <taviso@gentoo.org>2005-04-19 12:16:26 +0000
commit9568084ed9335ca3365ac1dd531418ca7da097cb (patch)
tree682699bab771e8674bd87ea8a77eddb3a56be013 /net-misc/secpanel/secpanel-0.51.ebuild
parentRemoved old lm_sensors -> lm-sensors move per request on gentoo-dev@g.o (diff)
downloadhistorical-9568084ed9335ca3365ac1dd531418ca7da097cb.tar.gz
historical-9568084ed9335ca3365ac1dd531418ca7da097cb.tar.bz2
historical-9568084ed9335ca3365ac1dd531418ca7da097cb.zip
bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc/secpanel/secpanel-0.51.ebuild')
-rw-r--r--net-misc/secpanel/secpanel-0.51.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/net-misc/secpanel/secpanel-0.51.ebuild b/net-misc/secpanel/secpanel-0.51.ebuild
new file mode 100644
index 000000000000..55eadfbfc62d
--- /dev/null
+++ b/net-misc/secpanel/secpanel-0.51.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/secpanel/secpanel-0.51.ebuild,v 1.1 2005/04/19 12:16:26 taviso Exp $
+
+DESCRIPTION="Graphical frontend for managing and running SSH and SCP connections"
+HOMEPAGE="http://www.pingx.net/secpanel/"
+
+SRC_URI="http://www.pingx.net/secpanel/${P/51/5.1}.tar.gz"
+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}/${P/51/5.1}
+
+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
+}
+
+src_install() {
+ dobin ${S}/src/bin/secpanel
+ dodir /usr/lib/secpanel /usr/lib/secpanel/images
+
+ insinto /usr/lib/secpanel
+ 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
+
+ fperms 755 /usr/lib/secpanel/{listserver.tcl,secpanel.dist,secpanel.wait}
+
+ dodoc CHANGES COPYING README
+}