blob: 72d96a5387a17e9adc7b9e5b2f3b59e920385ae4 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/krusader/krusader-2.0.0-r1.ebuild,v 1.1 2009/05/15 11:28:22 scarabeus Exp $
EAPI="2"
KDE_LINGUAS="bg bs ca cs da de el es fr hu it ja ko lt nl pl pt pt_BR ru sk sl
sr sv tr uk zh_CN"
inherit kde4-base
MY_P="${P/_/-}"
DESCRIPTION="An advanced twin-panel (commander-style) file-manager for KDE with many extras."
HOMEPAGE="http://krusader.sourceforge.net/"
SRC_URI="mirror://sourceforge/krusader/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug doc"
RDEPEND=""
DEPEND="${RDEPEND}
sys-devel/gettext
"
PATCHES=(
"${FILESDIR}/2.0.0_beta2-gcc44.patch"
)
S="${WORKDIR}/${MY_P}"
src_prepare() {
if ! use doc; then
sed -i \
-e "s:^add_subdirectory([[:space:]]doc[[:space:]]):#nodoc:g" \
CMakeLists.txt || die "removing docs failed"
fi
sed -i \
-e "s:set(CMAKE_VERBOSE_MAKEFILE[[:space:]]ON):#NADA:g" \
CMakeLists.txt # non fatal sed :]
kde4-base_src_prepare
}
|