Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9649be6c47b7d915dce75a1198900c25
  8. PKG_DESCR:= revision control program
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= zlib apr apr-util libiconv libexpat
  11. PKG_SITES:= http://subversion.tigris.org/downloads/
  12. include ${TOPDIR}/mk/package.mk
  13. ifeq ($(ADK_PACKAGE_SUBVERSION_NEON),y)
  14. PKG_DEPENDS+= neon
  15. endif
  16. $(eval $(call PKG_template,SUBVERSION,$(PKG_NAME),${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE:= gnu
  18. CONFIGURE_ARGS+= --with-apr=${STAGING_DIR}/usr/bin/apr-config
  19. CONFIGURE_ARGS+= --with-apr-util=${STAGING_DIR}/usr/bin/apr-config
  20. CONFIGURE_ARGS+= --disable-mod-activation
  21. CONFIGURE_ARGS+= --disable-keychain
  22. CONFIGURE_ARGS+= --without-apxs
  23. CONFIGURE_ARGS+= --without-swig
  24. CONFIGURE_ARGS+= --disable-experimental-libtool
  25. CONFIGURE_ARGS+= --without-jikes
  26. CONFIGURE_ARGS+= --without-jdk
  27. CONFIGURE_ARGS+= --disable-javahl
  28. CONFIGURE_ARGS+= --without-berkeley-db
  29. LIBS= -laprutil-0 -lapr-0 -lexpat -liconv -lsqlite3
  30. ifeq ($(ADK_PACKAGE_SUBVERSION_NEON),y)
  31. CONFIGURE_ARGS+= -disable-neon-version-check
  32. LIBS+= -lneon
  33. else
  34. CONFIGURE_ARGS+= --without-neon
  35. endif
  36. ifeq ($(ADK_PACKAGE_APR_THREADING),y)
  37. LIBS+= -pthread
  38. endif
  39. CONFIGURE_ENV+= LIBS='${LIBS}'
  40. BUILD_STYLE:= auto
  41. INSTALL_STYLE:= auto
  42. INSTALL_TARGET:= external-install local-install
  43. post-install:
  44. ${INSTALL_DIR} ${IDIR_SUBVERSION}/usr/{bin,lib}
  45. ${CP} ${WRKINST}/usr/bin/* ${IDIR_SUBVERSION}/usr/bin
  46. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_SUBVERSION}/usr/lib
  47. include ${TOPDIR}/mk/pkg-bottom.mk