iptables: bump to version 1.6.1
[buildroot-gz.git] / package / python-cffi / python-cffi.mk
blobd34869561bcd8bf88fc68679eaeaae1cb61da3c0
1 ################################################################################
3 # python-cffi
5 ################################################################################
7 PYTHON_CFFI_VERSION = 1.8.3
8 PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
9 PYTHON_CFFI_SITE = https://pypi.python.org/packages/0a/f3/686af8873b70028fccf67b15c78fd4e4667a3da995007afc71e786d61b0a
10 PYTHON_CFFI_SETUP_TYPE = setuptools
11 PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
12 PYTHON_CFFI_LICENSE = MIT
13 PYTHON_CFFI_LICENSE_FILES = LICENSE
15 # This host package uses pkg-config to find libffi, so we have to
16 # provide the proper hints for pkg-config to behave properly for host
17 # packages.
18 HOST_PYTHON_CFFI_ENV = \
19 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
20 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
21 PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
22 PKG_CONFIG_SYSROOT_DIR="/" \
23 PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig:$(HOST_DIR)/usr/share/pkgconfig"
24 HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi
26 $(eval $(python-package))
27 $(eval $(host-python-package))