summaryrefslogtreecommitdiff
path: root/recipes/subversion/subversion_1.4.5.bb
blob: 1029e70c5c53d8a471ea56dff21ada8f0f55a13f (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
DESCRIPTION = "The Subversion (svn) client"
SECTION = "console/network"
DEPENDS = "apr-util neon"
RDEPENDS = "neon"
LICENSE = "Apache BSD"
HOMEPAGE = "http://subversion.tigris.org"

PR = "r0"

SRC_URI = "http://subversion.tigris.org/downloads/${P}.tar.bz2 \
           file://disable-revision-install.patch;patch=1 \
	   file://neon-detection.patch;patch=1 \
	   file://libtool.patch;patch=1"

EXTRA_OECONF = "--with-neon=${STAGING_EXECPREFIXDIR} \
                --without-berkeley-db --without-apxs --without-apache \
                --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
                --with-apr-util=${STAGING_BINDIR_CROSS}"


inherit autotools

export LDFLAGS += " -L${STAGING_LIBDIR} "

acpaths = "-I build/ -I build/ac-macros/"

# FIXME: Ugly hack! Instead of fully porting to the new libtool, apply libtool.patch and do the rest here.
do_configure_prepend() {
	rm -f build/libtool.m4
}
do_configure_append() {
	if ! test -f libtool ; then cp -a *-libtool libtool ; fi
}

do_stage() {
	autotools_stage_all
}