1
0

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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= subversion
  5. PKG_VERSION:= 1.7.8
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 17fe81c30fe0f785b2100ebadb3dc580
  8. PKG_DESCR:= revision control program
  9. PKG_SECTION:= scm
  10. PKG_DEPENDS:= zlib apr apr-util libexpat libsqlite neon
  11. PKG_BUILDDEP:= apr-util expat apr zlib libiconv-tiny 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 ${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 -liconv -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 ${TOPDIR}/mk/pkg-bottom.mk