always use ccache from OpenADK, problem reported by Diez
[openadk.git] / package / subversion / Makefile
bloba994707703a6a855522315b242f58ca405e81712
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= subversion
7 PKG_VERSION:= 1.9.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= 11f738063f322b06f8c81e42bc26c33e0cb1e465539647109e534274d4a8540c
10 PKG_DESCR:= revision control program
11 PKG_SECTION:= dev/scm
12 PKG_DEPENDS:= zlib apr apr-util libexpat libsqlite neon
13 PKG_BUILDDEP:= apr-util expat apr zlib sqlite neon
14 PKG_URL:= http://subversion.apache.org/
15 PKG_SITES:= http://artfiles.org/apache.org/subversion/
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include ${ADK_TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,SUBVERSION,subversion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 XAKE_FLAGS+= GCC_HONOUR_COPTS=s
24 TARGET_LDFLAGS+= -ltinfo
25 CONFIGURE_ARGS+= --with-apr=${STAGING_TARGET_DIR}/usr/bin/apr-1-config \
26 --with-apr-util=${STAGING_TARGET_DIR}/usr/bin/apr-1-config \
27 --disable-mod-activation \
28 --disable-keychain \
29 --without-apxs \
30 --without-swig \
31 --disable-experimental-libtool \
32 --without-jikes \
33 --without-jdk \
34 --disable-javahl \
35 --without-berkeley-db
36 CONFIGURE_ENV+= LIBS='-lsqlite3 -laprutil-1 -lapr-1 -lexpat -ltinfo'
38 subversion-install:
39 ${INSTALL_DIR} ${IDIR_SUBVERSION}/usr/{bin,lib}
40 ${INSTALL_BIN} ${WRKINST}/usr/bin/svn ${IDIR_SUBVERSION}/usr/bin
41 ${CP} ${WRKINST}/usr/lib/libsvn*.so* ${IDIR_SUBVERSION}/usr/lib
43 include ${ADK_TOPDIR}/mk/pkg-bottom.mk