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.3b4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 62ba2dbd8b13745bc89e24dd4191cdc5
  8. PKG_DESCR:= bazaar
  9. PKG_SECTION:= scm
  10. PKG_DEPENDS:= python2
  11. PKG_BUILDDEP:= 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) $(WRKINST)/usr/bin/bzr $(IDIR_BZR)/usr/bin
  28. include ${TOPDIR}/mk/pkg-bottom.mk