blob: 687852cfafc2decb0a6a06ed6a44367f8717efd8 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild,v 1.4 2007/05/30 20:37:17 mr_bones_ Exp $
KMNAME=kdesdk
KMMODULE=kioslave
MAXKDEVER=$PV
KM_DEPRANGE="$PV $MAXKDEVER"
inherit kde-meta eutils
DESCRIPTION="kioslaves from kdesdk package: the subversion kioslave"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="kdehiddenvisibility"
DEPEND="dev-util/subversion"
pkg_setup() {
if [[ -n "$(ldd /usr/bin/svn | grep -o 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 [[ -n "$(ldd /usr/bin/svn | grep -o 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 [[ -n "$(ldd /usr/bin/svn | grep -o libapr-0)" ]] ; then
myconf="--with-apr-config=/usr/bin/apr-config"
else
myconf="--with-apr-config=/usr/bin/apr-1-config"
fi
kde-meta_src_compile
}
|