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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 6 21:33:43 2010 UTC (9 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.7.1.ebuild,v 1.1 2010/01/07 14:27:31 patrick Exp $
4
5 EAPI=2
6 inherit eutils multilib toolchain-funcs
7
8 DESCRIPTION="A file manager that implements the popular two-pane design"
9 HOMEPAGE="http://emelfm2.net"
10 SRC_URI="http://${PN}.net/rel/${P}.tar.bz2"
11
12 LICENSE="GPL-3 LGPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="acl fam gimp hal kernel_linux nls spell"
16
17 RDEPEND=">=x11-libs/gtk+-2.12:2
18 acl? ( sys-apps/acl )
19 !kernel_linux? ( fam? ( virtual/fam ) )
20 gimp? ( media-gfx/gimp )
21 hal? ( sys-apps/hal
22 dev-libs/dbus-glib )
23 spell? ( app-text/gtkspell )"
24 DEPEND="${RDEPEND}
25 dev-util/pkgconfig
26 nls? ( sys-devel/gettext )"
27
28 RESTRICT="test"
29
30 pkg_setup() {
31 myconf="DOCS_VERSION=1 WITH_TRANSPARENCY=1 USE_LATEST=1 STRIP=0"
32
33 use hal && myconf="${myconf} WITH_HAL=1"
34 use gimp && myconf="${myconf} WITH_THUMBS=1"
35 use acl && myconf="${myconf} WITH_ACL=1"
36 use kernel_linux && myconf="${myconf} WITH_KERNELFAM=1 USE_INOTIFY=1"
37 use spell && myconf="${myconf} EDITOR_SPELLCHECK=1"
38 use nls || myconf="${myconf} I18N=0"
39
40 if ! use kernel_linux && use fam; then
41 if has_version "app-admin/gamin"; then
42 myconf="${myconf} USE_GAMIN=1"
43 else
44 myconf="${myconf} USE_FAM=1"
45 fi
46 fi
47 }
48
49 src_compile() {
50 tc-export CC
51 emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
52 ${myconf} || die "emake failed"
53 }
54
55 src_install() {
56 emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
57 ${myconf} install || die "emake install failed"
58 newicon icons/${PN}_48.png ${PN}.png
59 prepalldocs
60 }

  ViewVC Help
Powered by ViewVC 1.1.20