Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= bzr
  5. PKG_VERSION:= 2.6.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 28c86653d0df10d202c6b842deb0ea35
  8. PKG_DESCR:= bazaar
  9. PKG_SECTION:= 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. PKG_HOST_DEPENDS:= !darwin
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,BZR,bzr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. BUILD_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. include $(TOPDIR)/mk/python.mk
  21. do-build:
  22. cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix=$(WRKINST)/usr build_ext --allow-python-fallback
  23. do-install:
  24. $(INSTALL_DIR) $(IDIR_BZR)/usr/lib/python$(PYTHON_VERSION)/site-packages
  25. $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
  26. $(IDIR_BZR)/usr/lib/python$(PYTHON_VERSION)/site-packages
  27. $(INSTALL_DIR) $(IDIR_BZR)/usr/bin
  28. $(INSTALL_BIN) $(WRKBUILD)/bzr $(IDIR_BZR)/usr/bin
  29. include ${TOPDIR}/mk/pkg-bottom.mk