Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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.0.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0b253f59601ebc9ee5975c612fc65f43
  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.0/${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. PYTHON_VERSION=2.6
  17. PYTHON_DIR:=$(STAGING_DIR)/usr
  18. PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin
  19. PYTHON_INC_DIR:=$(PYTHON_DIR)/include/python$(PYTHON_VERSION)
  20. PYTHON_LIB_DIR:=$(PYTHON_DIR)/lib/python$(PYTHON_VERSION)
  21. PYTHON:=python$(PYTHON_VERSION)
  22. PYTHON_PKG_DIR:=/usr/lib/python$(PYTHON_VERSION)/site-packages
  23. CONFIG_STYLE:= manual
  24. post-install:
  25. $(INSTALL_DIR) $(IDIR_BZR)/usr/bin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/bzr \
  27. $(IDIR_BZR)/usr/bin
  28. include ${TOPDIR}/mk/pkg-bottom.mk