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
:= dee2796abaa1f5351e6cc2a60b1917beb8238af548b20d3e1ec22760ab2f0cad
10 PKG_DESCR
:= revision control program
12 PKG_DEPENDS
:= zlib apr apr-util libexpat libsqlite neon liblz4
13 PKG_BUILDDEP
:= apr-util expat apr zlib sqlite neon lz4
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 TARGET_LDFLAGS
+= -ltinfo
24 CONFIGURE_ARGS
+= --with-apr
=${STAGING_TARGET_DIR}/usr
/bin
/apr-1-config \
25 --with-apr-util
=${STAGING_TARGET_DIR}/usr
/bin
/apr-1-config \
26 --with-utf8proc
=internal \
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