Makefile 1.3 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= bzr
  5. PKG_VERSION:= 2.6.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 0994797182eb828867eee81cccc79480bd2946c99304266bc427b902cf91dab0
  8. PKG_DESCR:= source code management system
  9. PKG_SECTION:= dev/scm
  10. PKG_BUILDDEP:= python2
  11. PKG_DEPENDS:= python2
  12. PKG_URL:= http://bazaar.canonical.com/en/
  13. PKG_SITES:= https://launchpad.net/bzr/2.6/2.6.0/+download/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_HOST_DEPENDS:= !darwin
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,BZR,bzr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. BUILD_STYLE:= manual
  20. INSTALL_STYLE:= manual
  21. include $(ADK_TOPDIR)/mk/python.mk
  22. do-build:
  23. cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix=$(WRKINST)/usr build_ext --allow-python-fallback
  24. do-install:
  25. $(INSTALL_DIR) $(IDIR_BZR)/usr/lib/python$(PYTHON_VERSION)/site-packages
  26. $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
  27. $(IDIR_BZR)/usr/lib/python$(PYTHON_VERSION)/site-packages
  28. $(INSTALL_DIR) $(IDIR_BZR)/usr/bin
  29. $(INSTALL_BIN) $(WRKBUILD)/bzr $(IDIR_BZR)/usr/bin
  30. include ${ADK_TOPDIR}/mk/pkg-bottom.mk