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

Contents of /app-misc/emelfm2/emelfm2-0.4.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-2008 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.4.ebuild,v 1.2 2008/04/20 16:52:43 drac Exp $
4
5 inherit eutils toolchain-funcs multilib
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="~amd64 ~ppc ~ppc64 ~sparc ~x86"
14 IUSE="acl unicode fam"
15
16 RESTRICT="test"
17
18 RDEPEND=">=x11-libs/gtk+-2.12
19 fam? ( virtual/fam )
20 acl? ( sys-apps/acl )"
21 DEPEND="${RDEPEND}
22 dev-util/pkgconfig"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 sed -i -e "s:${PN}/${PN}_48.png:${PN}:" \
28 docs/desktop_environment/${PN}.desktop || die "sed failed."
29 sed -e "s:(PREFIX)/lib:(PREFIX)/$(get_libdir):" -e "s:strip:true:g" \
30 -i Makefile || die "sed failed."
31 }
32
33 src_compile() {
34 # These options need >=x11-libs/gtk-2.12 which we depend upon
35 local myconf="USE_LATEST=1 WITH_TRANSPARENCY=1"
36
37 if use acl; then
38 myconf="${myconf} WITH_ACL=1"
39 fi
40
41 if use unicode; then
42 myconf="${myconf} FILES_UTF8ONLY=1"
43 fi
44
45 if use fam; then
46 if has_version "app-admin/gamin"; then
47 myconf="${myconf} USE_GAMIN=1"
48 else
49 myconf="${myconf} USE_FAM=1"
50 fi
51 else
52 myconf="${myconf} USE_FAM=0"
53 fi
54
55 tc-export CC
56 emake ICON_DIR="/usr/share/pixmaps/${PN}" ${myconf} || die "emake failed."
57 }
58
59 src_install() {
60 emake PREFIX="${D}/usr" install || die "emake install failed."
61 newicon icons/${PN}_48.png ${PN}.png
62 prepalldocs
63 }

  ViewVC Help
Powered by ViewVC 1.1.20