/[gentoo-x86]/x11-misc/pcmanfm/pcmanfm-1.0.ebuild
Gentoo

Contents of /x11-misc/pcmanfm/pcmanfm-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Aug 12 19:57:34 2012 UTC (2 years ago) by hwoarang
Branch: MAIN
Version bump. Remove old

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.0_rc1.ebuild,v 1.2 2012/07/21 10:50:13 hwoarang Exp $
4
5 EAPI="2"
6 inherit eutils fdo-mime
7
8 MY_PV="${PV/_/}"
9 MY_P="${PN}-${MY_PV}"
10
11 DESCRIPTION="Fast lightweight tabbed filemanager"
12 HOMEPAGE="http://pcmanfm.sourceforge.net/"
13 SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
18 IUSE="debug"
19
20 RDEPEND=">=dev-libs/glib-2.18:2
21 >=x11-libs/gtk+-2.16:2
22 >=lxde-base/menu-cache-0.3.2
23 x11-misc/shared-mime-info
24 >=x11-libs/libfm-1.0
25 virtual/eject"
26 DEPEND="${RDEPEND}
27 >=dev-util/intltool-0.40
28 virtual/pkgconfig
29 sys-devel/gettext"
30
31 S="${WORKDIR}"/${MY_P}
32
33 src_configure() {
34 strip-linguas -i "${S}/po"
35 econf --sysconfdir=/etc $(use_enable debug)
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install || die
40 dodoc AUTHORS || die
41 }
42
43 pkg_postinst() {
44 fdo-mime_desktop_database_update
45 fdo-mime_mime_database_update
46
47 elog 'PCmanFM can optionally support the menu://applications/ location.'
48 elog 'You should install lxde-base/lxmenu-data for that functionality.'
49 }
50
51 pkg_postrm() {
52 fdo-mime_desktop_database_update
53 fdo-mime_mime_database_update
54 }

  ViewVC Help
Powered by ViewVC 1.1.20