Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= subversion
  5. PKG_VERSION:= 1.6.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0ab0f26f6eb056add1b9d3059a3f4247
  8. PKG_DESCR:= revision control program
  9. PKG_SECTION:= scm
  10. PKG_DEPENDS:= zlib apr apr-util libiconv libexpat libsqlite
  11. PKG_BUILDDEP+= apr-util expat apr zlib libiconv sqlite
  12. ifneq ($(ADK_PACKAGE_SUBVERSION_NEON),)
  13. PKG_DEPENDS+= neon
  14. PKG_BUILDDEP+= neon
  15. endif
  16. PKG_SITES:= http://subversion.tigris.org/downloads/
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,SUBVERSION,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --with-apr=${STAGING_DIR}/usr/bin/apr-config
  20. CONFIGURE_ARGS+= --with-apr-util=${STAGING_DIR}/usr/bin/apr-config
  21. CONFIGURE_ARGS+= --disable-mod-activation
  22. CONFIGURE_ARGS+= --disable-keychain
  23. CONFIGURE_ARGS+= --without-apxs
  24. CONFIGURE_ARGS+= --without-swig
  25. CONFIGURE_ARGS+= --disable-experimental-libtool
  26. CONFIGURE_ARGS+= --without-jikes
  27. CONFIGURE_ARGS+= --without-jdk
  28. CONFIGURE_ARGS+= --disable-javahl
  29. CONFIGURE_ARGS+= --without-berkeley-db
  30. LIBS= -lsqlite3 -laprutil-0 -lapr-0 -lexpat -liconv
  31. ifeq ($(ADK_PACKAGE_SUBVERSION_NEON),y)
  32. CONFIGURE_ARGS+= -disable-neon-version-check
  33. LIBS+= -lneon
  34. else
  35. CONFIGURE_ARGS+= --without-neon
  36. endif
  37. ifeq ($(ADK_PACKAGE_APR_THREADING),y)
  38. LIBS+= -pthread
  39. endif
  40. CONFIGURE_ENV+= LIBS='${LIBS}'
  41. INSTALL_TARGET:= external-install local-install
  42. post-install:
  43. ${INSTALL_DIR} ${IDIR_SUBVERSION}/usr/{bin,lib}
  44. ${CP} ${WRKINST}/usr/bin/* ${IDIR_SUBVERSION}/usr/bin
  45. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_SUBVERSION}/usr/lib
  46. include ${TOPDIR}/mk/pkg-bottom.mk