summaryrefslogtreecommitdiff
path: root/package/pyrex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/pyrex/Makefile')
-rw-r--r--package/pyrex/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/pyrex/Makefile b/package/pyrex/Makefile
index 84ba155ee..8f4a1a726 100644
--- a/package/pyrex/Makefile
+++ b/package/pyrex/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= Pyrex
PKG_VERSION:= 0.9.9
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 515dee67d15d4393841e2d60e8341947
PKG_DESCR:= mixes Python and C data types
PKG_SECTION:= libs
@@ -13,6 +13,8 @@ PKG_DEPENDS:= python2
PKG_URL:= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
PKG_SITES:= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PYREX,pyrex,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,7 +27,7 @@ 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_HOST_DIR)"
+ cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix="$(STAGING_HOST_DIR)/usr"
cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix="$(WRKINST)/usr"
do-install: