2 # Copyright (C) 2015-2016, 2018-2021, 2023 Jeffery To
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_HASH
:=d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9
18 PKG_LICENSE_FILES
:=LICENSE
19 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
21 HOST_BUILD_DEPENDS
:= \
24 python-installer
/host \
29 include $(INCLUDE_DIR
)/package.mk
30 include $(INCLUDE_DIR
)/host-build.mk
31 include ..
/python3-package.mk
32 include ..
/python3-host-build.mk
34 define Package
/python3-cffi
38 TITLE
:=C Foreign Function Interface
39 URL
:=https
://cffi.readthedocs.org
/
46 define Package
/python3-cffi
/description
47 Foreign Function Interface for Python calling C code.
50 $(eval
$(call Py3Package
,python3-cffi
))
51 $(eval
$(call BuildPackage
,python3-cffi
))
52 $(eval
$(call BuildPackage
,python3-cffi-src
))
53 $(eval
$(call HostBuild
))