blob: 8359d5ddf68219a8b3a72de7cd3671430012a77d (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-4.0.0.ebuild,v 1.1 2008/01/17 23:53:58 philantrop Exp $
EAPI="1"
KMNAME=kdesdk
KMMODULE=kioslave
inherit kde4-meta
DESCRIPTION="kioslaves from kdesdk package: the subversion kioslave"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
COMMONDEPEND="dev-libs/apr
dev-util/subversion"
DEPEND="${DEPEND} ${COMMONDEPEND}"
RDEPEND="${RDEPEND} ${COMMONDEPEND}"
pkg_setup() {
if ldd /usr/bin/svn | grep -q libapr-0 \
&& ! has_version dev-libs/apr:0;
then
eerror "Subversion has been built against dev-libs/apr:0, but no matching version is installed."
die "Please rebuild dev-util/subversion."
fi
if ldd /usr/bin/svn | grep -q libapr-1 \
&& ! has_version dev-libs/apr:1;
then
eerror "Subversion has been built against dev-libs/apr:1, but no matching version is installed."
die "Please rebuild dev-util/subversion."
fi
}
src_compile() {
if ldd /usr/bin/svn | grep -q libapr-0; then
mycmakeargs="${mycmakeargs} -DAPRCONFIG_EXECUTABLE=/usr/bin/apr-config"
else
mycmakeargs="${mycmakeargs} -DAPRCONFIG_EXECUTABLE=/usr/bin/apr-1-config"
fi
kde4-meta_src_compile
}
|