1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ead9183361819deab9127a224e5ebca0
  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,subversion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-apr=${STAGING_TARGET_DIR}/usr/bin/apr-1-config \
  17. --with-apr-util=${STAGING_TARGET_DIR}/usr/bin/apr-1-config \
  18. --with-neon=${STAGING_TARGET_DIR}/usr \
  19. --disable-mod-activation \
  20. --disable-keychain \
  21. --without-apxs \
  22. --without-swig \
  23. --disable-experimental-libtool \
  24. --without-jikes \
  25. --without-jdk \
  26. --disable-javahl \
  27. --without-berkeley-db
  28. CONFIGURE_ENV+= LIBS='-lsqlite3 -laprutil-1 -lapr-1 -lexpat -liconv'
  29. INSTALL_TARGET:= external-install local-install
  30. subversion-install:
  31. ${INSTALL_DIR} ${IDIR_SUBVERSION}/usr/{bin,lib}
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/svn ${IDIR_SUBVERSION}/usr/bin
  33. ${CP} ${WRKINST}/usr/lib/libsvn*.so* ${IDIR_SUBVERSION}/usr/lib
  34. include ${TOPDIR}/mk/pkg-bottom.mk