mpd: update to 0.20.13
[openadk.git] / package / pyrex / Makefile
blobffb37b511dc9f397a2a90971c1ef38fc36888348
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
6 PKG_NAME:= Pyrex
7 PKG_VERSION:= 0.9.9
8 PKG_RELEASE:= 3
9 PKG_HASH:= 5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699fb6b50
10 PKG_DESCR:= mixes python and c data types
11 PKG_SECTION:= dev/python
12 PKG_DEPENDS:= python2
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}))
22 CONFIG_STYLE:= manual
23 BUILD_STYLE:= manual
24 INSTALL_STYLE:= manual
26 include $(ADK_TOPDIR)/mk/python.mk
28 do-build:
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"
33 do-install:
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