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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 29 20:10:20 2011 UTC (8 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump by teidakankan (bug #377621). Install translations by dragongrot (bug #369709).

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.4.ebuild,v 1.3 2011/10/27 05:53:51 tetromino 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://emelfm2.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 udev"
16
17 RDEPEND=">=dev-libs/glib-2.22:2
18 >=x11-libs/gtk+-2.12:2
19 acl? ( sys-apps/acl )
20 gimp? ( media-gfx/gimp )
21 policykit? ( sys-auth/polkit )
22 spell? ( app-text/gtkspell:2 )
23 udev? ( sys-fs/udisks
24 dev-libs/dbus-glib )"
25 DEPEND="${RDEPEND}
26 dev-util/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 RESTRICT="test"
30
31 pkg_setup() {
32 emel_use() {
33 use ${1} && echo "${2}=1" || echo "${2}=0"
34 }
35
36 myemelconf=(
37 DOCS_VERSION=1
38 $(emel_use nls I18N)
39 WITH_TRANSPARENCY=1
40 $(emel_use kernel_linux WITH_KERNELFAM)
41 $(emel_use spell EDITOR_SPELLCHECK)
42 $(emel_use udev WITH_DEVKIT)
43 $(emel_use gimp WITH_THUMBS)
44 $(emel_use acl WITH_ACL)
45 $(emel_use policykit WITH_POLKIT)
46 STRIP=0
47 )
48 }
49
50 src_compile() {
51 tc-export CC
52 emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
53 ${myemelconf[@]} || die
54 }
55
56 src_install() {
57 emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
58 ${myemelconf[@]} install || die
59 newicon icons/${PN}_48.png ${PN}.png
60 prepalldocs
61 }

  ViewVC Help
Powered by ViewVC 1.1.20