Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.12
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ae008ac355581c90494fba86cbfc3413
  8. PKG_DESCR:= revision control program
  9. PKG_SECTION:= scm
  10. PKG_DEPENDS:= zlib apr apr-util libiconv libexpat libsqlite neon
  11. PKG_BUILDDEP:= apr-util expat apr zlib libiconv sqlite neon
  12. PKG_SITES:= http://subversion.tigris.org/downloads/
  13. PKG_URL:= http://subversion.apache.org/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SUBVERSION,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-apr=${STAGING_DIR}/usr/bin/apr-1-config
  17. CONFIGURE_ARGS+= --with-apr-util=${STAGING_DIR}/usr/bin/apr-1-config
  18. CONFIGURE_ARGS+= --disable-mod-activation
  19. CONFIGURE_ARGS+= --disable-keychain
  20. CONFIGURE_ARGS+= --without-apxs
  21. CONFIGURE_ARGS+= --without-swig
  22. CONFIGURE_ARGS+= --disable-experimental-libtool
  23. CONFIGURE_ARGS+= --without-jikes
  24. CONFIGURE_ARGS+= --without-jdk
  25. CONFIGURE_ARGS+= --disable-javahl
  26. CONFIGURE_ARGS+= --without-berkeley-db
  27. CONFIGURE_ENV+= LIBS='-lsqlite3 -laprutil-1 -lapr-1 -lexpat -liconv'
  28. INSTALL_TARGET:= external-install local-install
  29. post-install:
  30. ${INSTALL_DIR} ${IDIR_SUBVERSION}/usr/{bin,lib}
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/svn ${IDIR_SUBVERSION}/usr/bin
  32. ${CP} ${WRKINST}/usr/lib/libsvn*.so* ${IDIR_SUBVERSION}/usr/lib
  33. include ${TOPDIR}/mk/pkg-bottom.mk