binutils: allow static linking
[openadk.git] / package / python-setuptools / Makefile
blob4a05cb202ff9b7d766065941ff49164abe9569d0
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:= python-setuptools
7 PKG_VERSION:= 69.0.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78
10 PKG_DESCR:= python setuptools
11 PKG_SECTION:= dev/tools
12 PKG_BUILDDEP:= python3-host
13 PKG_SITES:= https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7/
15 DISTFILES:= setuptools-$(PKG_VERSION).tar.gz
17 WRKDIST= $(WRKDIR)/setuptools-$(PKG_VERSION)
19 include ${ADK_TOPDIR}/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,PYTHON_SETUPTOOLS,python-setuptools,${PKG_VERSION}-${PKG_RELEASE}))
24 include $(ADK_TOPDIR)/mk/python3.mk
26 HOST_STYLE:= manual
28 python-setuptools-hostinstall:
29 (cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
30 --prefix=$(STAGING_HOST_DIR)/usr)
32 include ${ADK_TOPDIR}/mk/host-bottom.mk
33 include $(ADK_TOPDIR)/mk/pkg-bottom.mk