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
9 PKG_HASH
:= 11f738063f322b06f8c81e42bc26c33e0cb1e465539647109e534274d4a8540c
10 PKG_DESCR
:= revision control program
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 \
31 --disable-experimental-libtool \
36 CONFIGURE_ENV
+= LIBS
='-lsqlite3 -laprutil-1 -lapr-1 -lexpat -ltinfo'
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