Makefile 1.5 KB

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