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/pyrex/Makefile | |
parent | 793044fd96bca30ad6b02e75e4972be89dc6bd72 (diff) |
try to fix bzr, unify python support
Diffstat (limited to 'package/pyrex/Makefile')
-rw-r--r-- | package/pyrex/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/pyrex/Makefile b/package/pyrex/Makefile new file mode 100644 index 000000000..97b497a55 --- /dev/null +++ b/package/pyrex/Makefile @@ -0,0 +1,35 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= Pyrex +PKG_VERSION:= 0.9.9 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 515dee67d15d4393841e2d60e8341947 +PKG_DESCR:= mixes Python and C data types +PKG_SECTION:= libs +PKG_URL:= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ +PKG_SITES:= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,PYREX,pyrex,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +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 build + cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix="$(STAGING_TOOLS)" + cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix="$(WRKINST)/usr" + +do-install: + $(INSTALL_DIR) $(IDIR_PYREX)/usr/lib/python$(PYTHON_VERSION) + $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/* \ + $(IDIR_PYREX)/usr/lib/python$(PYTHON_VERSION) + +include ${TOPDIR}/mk/pkg-bottom.mk |