-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
41 lines (32 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
include $(TOPDIR)/rules.mk
PKG_NAME:=python3-kconfiglib
PKG_RELEASE:=1
PKG_VERSION:=13.1.1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ulfalizer/Kconfiglib.git
PKG_SOURCE_VERSION:=bf01114a0ce09b891ed04609ea7e9cc6f3ef3df2
PKG_BUILD_DIR:=$(BUILD_DIR)/python3-kconfiglib-$(PKG_VERSION)
HOST_BUILD_DEPENDS:=python3/host
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-host.mk
define Package/python3-kconfiglib
SECTION:=language-python
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=kconfiglib
URL:=https://github.com/ulfalizer/Kconfiglib
endef
define Package/python3-kconfiglib/description
Kconfiglib is a Kconfig implementation in Python 2/3.
endef
define Host/Compile
$(call Build/Compile/HostPy3Mod,,\
install --prefix="" --root="$(STAGING_DIR_HOSTPKG)" \
)
endef
Host/Install:=
$(eval $(call HostBuild))
$(eval $(call Py3Package,python3-kconfiglib))
$(eval $(call BuildPackage,python3-kconfiglib))