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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 21 22:12:15 2009 UTC (10 years, 11 months ago) by nelchael
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old versions.
(Portage version: 2.1.6.9/cvs/Linux x86_64)

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.5.ebuild,v 1.2 2007/09/07 19:12:16 josejx 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="~ppc ~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_unpack() {
23 unpack ${A}
24 cd "${S}"
25 sed -i -e "s:emelfm2/emelfm2_48.png:emelfm2.png:" docs/desktop_environment/emelfm2.desktop
26 }
27
28 src_compile() {
29 local myconf
30
31 if use unicode; then
32 myconf="FILES_UTF8ONLY=1"
33 fi
34
35 if use fam; then
36 if has_version "app-admin/gamin"; then
37 myconf="${myconf} USE_GAMIN=1"
38 else
39 myconf="${myconf} USE_FAM=1"
40 fi
41 else
42 myconf="${myconf} USE_FAM=0"
43 fi
44
45 emake ICONDIR="/usr/share/pixmaps" \
46 PREFIX="/usr" CC="$(tc-getCC) ${CFLAGS}" \
47 ${myconf} || die "emake failed."
48 }
49
50 src_install() {
51 emake ICONDIR="${D}"/usr/share/pixmaps \
52 PREFIX="${D}"/usr install || die "emake install failed."
53 newicon icons/emelfm2_48.png emelfm2.png
54 prepalldocs
55 }

  ViewVC Help
Powered by ViewVC 1.1.20