Makefile 1.5 KB

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