blob: eca45f0ea007dfc2e2def6948e44a3d91dc20d0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/viewglob/viewglob-2.0.2.ebuild,v 1.2 2005/07/16 11:40:28 dholm Exp $
inherit eutils
DESCRIPTION="Graphical display of directories and globs referenced at the shell prompt"
HOMEPAGE="http://viewglob.sourceforge.net/"
SRC_URI="mirror://sourceforge/viewglob/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc"
IUSE=""
DEPEND=">=dev-libs/glib-2.2.0
>=x11-libs/gtk+-2.4.0
|| ( app-shells/bash app-shells/zsh )"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/viewglob-2.0.2-64bit.patch
}
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install () {
make DESTDIR=${D} install || die "install failed"
dodoc AUTHORS COPYING COPYING2 ChangeLog HACKING INSTALL NEWS README TODO
}
pkg_postinst() {
einfo " "
einfo "/usr/bin/viewglob is a wrapper for vgd and vgseer (client and"
einfo "daemon, respectively). Generally speaking, this is what you want to"
einfo "execute from your shell."
einfo " "
einfo "Should you prefer to start viewglob with each shell session, try"
einfo "something like this:"
einfo " "
einfo ' if [[ ! $VG_VIEWGLOB_ACTIVE && $DISPLAY ]] ; then'
einfo ' exec viewglob'
einfo ' fi'
einfo " "
einfo "Have a look at http://viewglob.sourceforge.net/faq.html for a"
einfo "couple more viewglob tricks."
ewarn " "
ewarn "There are some known bugs in viewglob with screen. Exercise some"
ewarn "caution and take results with a pinch of salt if you try the two"
ewarn "together."
ewarn " "
}
|