diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-09 22:15:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-09 22:15:42 +0100 |
commit | 7c980e275971d46a2be50ebe564c0125cb759727 (patch) | |
tree | 13aaed0e9158aa1f2c55908a6e50e05fd1798ffc /package/bzr | |
parent | 793044fd96bca30ad6b02e75e4972be89dc6bd72 (diff) |
try to fix bzr, unify python support
Diffstat (limited to 'package/bzr')
-rw-r--r-- | package/bzr/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/package/bzr/Makefile b/package/bzr/Makefile index 7b6836cae..ba8aba484 100644 --- a/package/bzr/Makefile +++ b/package/bzr/Makefile @@ -4,31 +4,30 @@ include $(TOPDIR)/rules.mk PKG_NAME:= bzr -PKG_VERSION:= 2.0.4 +PKG_VERSION:= 2.3b3 PKG_RELEASE:= 1 -PKG_MD5SUM:= 0b253f59601ebc9ee5975c612fc65f43 +PKG_MD5SUM:= 94f9181b9a4ab84b94cfbc06bd5dfd91 PKG_DESCR:= bazaar PKG_SECTION:= scm PKG_DEPENDS:= python2 PKG_BUILDDEP:= python2 PKG_URL:= http://bazaar.canonical.com/en/ -PKG_SITES:= http://launchpad.net/bzr/2.0/${PKG_VERSION}/+download/ +PKG_SITES:= http://launchpad.net/bzr/2.3/${PKG_VERSION}/+download/ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,BZR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -PYTHON_VERSION=2.6 -PYTHON_DIR:=$(STAGING_DIR)/usr -PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin -PYTHON_INC_DIR:=$(PYTHON_DIR)/include/python$(PYTHON_VERSION) -PYTHON_LIB_DIR:=$(PYTHON_DIR)/lib/python$(PYTHON_VERSION) -PYTHON:=python$(PYTHON_VERSION) -PYTHON_PKG_DIR:=/usr/lib/python$(PYTHON_VERSION)/site-packages - CONFIG_STYLE:= manual +BUILD_STYLE:= manual +INSTALL_STYLE:= manual + +include $(TOPDIR)/mk/python.mk + +do-build: + cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix="$(WRKINST)/usr" -post-install: +do-install: $(INSTALL_DIR) $(IDIR_BZR)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/bzr \ $(IDIR_BZR)/usr/bin |