Makefile 1.8 KB

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