/[gentoo-x86]/x11-misc/grun/grun-0.9.3-r1.ebuild
Gentoo

Contents of /x11-misc/grun/grun-0.9.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat May 5 04:53:41 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Changes since 1.7: +2 -2 lines
dev-util/pkgconifg -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/grun/grun-0.9.3-r1.ebuild,v 1.7 2012/02/05 17:53:48 armin76 Exp $
4
5 EAPI=2
6 inherit eutils
7
8 DESCRIPTION="a GTK+ application launcher with nice features such as a history"
9 HOMEPAGE="http://code.google.com/p/grun/"
10 SRC_URI="http://grun.googlecode.com/files/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
15 IUSE="nls"
16
17 RDEPEND="dev-libs/glib
18 x11-libs/gtk+:2
19 x11-libs/gdk-pixbuf"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig
22 nls? ( sys-devel/gettext )"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-no_nls.patch
26 }
27
28 src_configure() {
29 [[ -z ${TERM} ]] && TERM=xterm
30
31 econf \
32 $(use_enable nls) \
33 --disable-gtktest \
34 --enable-testfile \
35 --enable-associations \
36 --with-default-xterm=${TERM}
37 }
38
39 src_install() {
40 einstall || die
41 dodoc AUTHORS BUGS ChangeLog NEWS README TODO
42 }
43
44 pkg_postinst() {
45 elog "It is recommended to bind grun to a keychain. Fluxbox users can"
46 elog "do this by appending e.g. the following line to ~/.fluxbox/keys:"
47 elog
48 elog "Mod4 r :ExecCommand grun"
49 elog
50 elog "Then reconfigure Fluxbox (using the menu) and hit <WinKey>-<r>"
51 elog
52 elog "The default system-wide definition file for associating file"
53 elog "extensions with applications is /etc/gassoc, the default"
54 elog "system-wide definition file for recognized console"
55 elog "applications is /etc/consfile. They can be overridden"
56 elog "on a per user basis by ~/.gassoc and ~/.consfile respectively."
57 elog
58 elog "To change the default terminal application grun uses, adjust the"
59 elog "TERM environment variable accordingly and remerge grun, e.g."
60 elog
61 elog "TERM=Eterm emerge grun"
62 }

  ViewVC Help
Powered by ViewVC 1.1.20