1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.3.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2d8bc55d43209189a209361178d9d372
  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:= http://launchpad.net/bzr/2.3/${PKG_VERSION}/+download/
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,BZR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. BUILD_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. include $(TOPDIR)/mk/python.mk
  20. do-build:
  21. cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix=$(WRKINST)/usr build_ext --allow-python-fallback
  22. do-install:
  23. $(INSTALL_DIR) $(IDIR_BZR)/usr/lib/python$(PYTHON_VERSION)/site-packages
  24. $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
  25. $(IDIR_BZR)/usr/lib/python$(PYTHON_VERSION)/site-packages
  26. $(INSTALL_DIR) $(IDIR_BZR)/usr/bin
  27. $(INSTALL_BIN) $(WRKBUILD)/bzr $(IDIR_BZR)/usr/bin
  28. include ${TOPDIR}/mk/pkg-bottom.mk