1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699fb6b50
10 PKG_DESCR
:= mixes python and c data types
11 PKG_SECTION
:= dev
/python
13 PKG_URL
:= http
://www.cosc.canterbury.ac.nz
/greg.ewing
/python
/Pyrex
/
14 PKG_SITES
:= http
://www.cosc.canterbury.ac.nz
/greg.ewing
/python
/Pyrex
/
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,PYREX
,pyrex
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 INSTALL_STYLE
:= manual
26 include $(ADK_TOPDIR
)/mk
/python.mk
29 cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
) $(PYTHON
) .
/setup.py build
30 cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
) $(PYTHON
) .
/setup.py
install --prefix="$(STAGING_HOST_DIR)/usr"
31 cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
) $(PYTHON
) .
/setup.py
install --prefix="$(WRKINST)/usr"
34 $(INSTALL_DIR
) $(IDIR_PYREX
)/usr
/lib
/python
$(PYTHON_VERSION
)
35 $(CP
) $(WRKINST
)/usr
/lib
/python
$(PYTHON_VERSION
)/* \
36 $(IDIR_PYREX
)/usr
/lib
/python
$(PYTHON_VERSION
)
38 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk