/[gentoo-x86]/app-misc/emelfm2/emelfm2-0.0.9.ebuild
Gentoo

Contents of /app-misc/emelfm2/emelfm2-0.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Sep 3 19:49:38 2005 UTC (14 years, 5 months ago) by vanquirius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
bug 80343
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/emelfm2-0.0.9.ebuild,v 1.5 2005/06/12 12:10:28 swegener Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A file manager that implements the popular two-pane design based on gtk+-2"
8 HOMEPAGE="http://dasui.prima.de/e2wiki/"
9 SRC_URI="http://dasui.prima.de/~tooar/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc"
14 IUSE="nls"
15
16 DEPEND=">=x11-libs/gtk+-2.4"
17
18 src_unpack() {
19 unpack ${A}
20 }
21
22 src_compile() {
23 local myconf
24
25 use nls && myconf="-DENABLE_NLS"
26 emake PREFIX=/usr \
27 CC="gcc ${CFLAGS}" \
28 NLS=${myconf} || die "emake failed"
29 }
30
31 src_install() {
32 local myconf
33
34 use nls && myconf="-DENABLE_NLS"
35 dodir /usr/bin
36
37 make PREFIX=${D}/usr \
38 NLS=${myconf} \
39 DOC_DIR=${D}/usr/share/doc/${PF} \
40 install || die "make install failed"
41 prepalldocs
42 }
43
44 pkg_postinst() {
45
46 einfo "This application prefers that you set your LANG variable."
47 einfo "This is best done by placing 'export LANG=en_US' (example"
48 einfo "is for english systems - customize for your language) into "
49 einfo "your shell environment. Other locales can be found in "
50 einfo "/usr/share/locale. Export the corresponding directory name "
51 einfo "into your LANG variable."
52 einfo ""
53 einfo "You can launch emelfm2 without setting this variable by running"
54 einfo "it with the -i flag."
55
56 }

  ViewVC Help
Powered by ViewVC 1.1.20