summaryrefslogtreecommitdiff
blob: affbd52e007e9fa0a6bd781938d32efff95d7204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/filer/filer-0.0.12.ebuild,v 1.12 2010/07/20 17:40:04 jer Exp $

inherit eutils

DESCRIPTION="Small file-manager written in perl"
HOMEPAGE="http://wiki.perldude.de/doku.php?id=filer"
SRC_URI="http://perldude.de/projects/${PN}/downloads/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

RDEPEND="dev-lang/perl
	>=dev-perl/gtk2-perl-1.080
	dev-perl/gtk2-gladexml
	dev-perl/File-MimeInfo
	dev-perl/File-DirWalk
	virtual/perl-File-Temp
	dev-perl/TimeDate
	dev-perl/glib-perl
	>=x11-libs/gtk+-2.6
	x11-misc/shared-mime-info
	dev-perl/Stat-lsMode"
DEPEND="${RDEPEND}
	sys-apps/findutils
	dev-perl/extutils-pkgconfig
	dev-perl/extutils-depends"

src_unpack() {
	unpack ${A}
	find "${S}" -type d -name .svn | xargs rm -rf
	cd "${S}"
	epatch "${FILESDIR}"/filer-0.0.12-trash.patch
}

src_compile() {
	true
}

src_install() {
	dodir /usr/bin
	dodir /usr/lib
	make install PREFIX="${D}"/usr/
	dodoc AUTHORS README ChangeLog  || die "dodoc failed"
}