Makefile 979 B

1234567891011121314151617181920212223242526272829303132333435
  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.3b3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 94f9181b9a4ab84b94cfbc06bd5dfd91
  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"
  22. do-install:
  23. $(INSTALL_DIR) $(IDIR_BZR)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/bzr \
  25. $(IDIR_BZR)/usr/bin
  26. include ${TOPDIR}/mk/pkg-bottom.mk