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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Aug 5 12:19:15 2007 UTC (12 years, 6 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.1.3.3)

1 # Copyright 1999-2007 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.3.4.ebuild,v 1.5 2007/07/30 12:09:21 corsair Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="A file manager that implements the popular two-pane design"
8 HOMEPAGE="http://emelfm2.net"
9 SRC_URI="http://${PN}.net/rel/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~ppc64 ~sparc ~x86"
14 IUSE="unicode fam"
15
16 RESTRICT="test"
17
18 DEPEND=">=x11-libs/gtk+-2.6
19 fam? ( virtual/fam )"
20 RDEPEND="${DEPEND}"
21
22 src_compile() {
23 local myconf
24
25 if use unicode; then
26 myconf="FILES_UTF8ONLY=1"
27 fi
28
29 if use fam; then
30 if has_version "app-admin/gamin"; then
31 myconf="${myconf} USE_GAMIN=1"
32 else
33 myconf="${myconf} USE_FAM=1"
34 fi
35 else
36 myconf="${myconf} USE_FAM=0"
37 fi
38
39 emake ICONDIR="/usr/share/pixmaps" \
40 PREFIX="/usr" CC="$(tc-getCC) ${CFLAGS}" \
41 ${myconf} || die "emake failed."
42 }
43
44 src_install() {
45 emake ICONDIR="${D}"/usr/share/pixmaps \
46 PREFIX="${D}"/usr install || die "emake install failed."
47 prepalldocs
48 }

  ViewVC Help
Powered by ViewVC 1.1.20