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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 6 21:38:14 2010 UTC (9 years, 11 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +2 -2 lines
typo
(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.2.ebuild,v 1.1 2010/04/06 21:33:43 ssuominen 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 kernel_linux nls policykit 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 policykit? ( sys-auth/polkit )
22 spell? ( app-text/gtkspell )"
23 DEPEND="${RDEPEND}
24 dev-util/pkgconfig
25 nls? ( sys-devel/gettext )"
26
27 RESTRICT="test"
28
29 pkg_setup() {
30 myconf="DOCS_VERSION=1 WITH_TRANSPARENCY=1 STRIP=0"
31
32 #no required udisks package in portage
33 #use udev && myconf="${myconf} WITH_DEVKIT=1"
34
35 use gimp && myconf="${myconf} WITH_THUMBS=1"
36 use acl && myconf="${myconf} WITH_ACL=1"
37 use kernel_linux && myconf="${myconf} WITH_KERNELFAM=1 USE_INOTIFY=1"
38 use spell && myconf="${myconf} EDITOR_SPELLCHECK=1"
39 use nls || myconf="${myconf} I18N=0"
40 use policykit && myconf="${myconf} WITH_POLKIT=1"
41
42 if ! use kernel_linux && use fam; then
43 if has_version "app-admin/gamin"; then
44 myconf="${myconf} USE_GAMIN=1"
45 else
46 myconf="${myconf} USE_FAM=1"
47 fi
48 fi
49 }
50
51 src_compile() {
52 tc-export CC
53 emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
54 ${myconf} || die
55 }
56
57 src_install() {
58 emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
59 ${myconf} install || die
60 newicon icons/${PN}_48.png ${PN}.png
61 prepalldocs
62 }

  ViewVC Help
Powered by ViewVC 1.1.20