File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ include $(TOPDIR)/rules.mk
2+
3+ PKG_NAME:=python3-letmecreate
4+ PKG_VERSION:=1.0.1
5+
6+ PKG_SOURCE_VERSION:=HEAD
7+ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
8+ PKG_SOURCE_URL:=
[email protected] :francois-berder/PyLetMeCreate.git
9+ PKG_SOURCE_PROTO:=git
10+ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
11+
12+ PKG_LICENSE_FILE:=LICENSE
13+ PKG_LICENSE:=BSD-3-Clause
14+ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15+ PKG_INSTALL:=1
16+ PKG_BUILD_DEPENDS:=python3
17+
18+ include $(INCLUDE_DIR)/package.mk
19+
20+ define Package/python3-letmecreate
21+ SUBMENU:=Python
22+ SECTION:=lang
23+ CATEGORY:=Languages
24+ TITLE:=PyLetMeCreate
25+ URL:=https://github.com/francois-berder/PyLetMeCreate
26+ DEPENDS:= +python3-light +letmecreate
27+ endef
28+
29+ define Package/python3-letmecreate/description
30+ Python binding of LetMeCreate library.
31+ endef
32+
33+ define Build/Compile
34+ endef
35+
36+ define Build/Install
37+ endef
38+
39+ define Package/python3-letmecreate/install
40+ $(INSTALL_DIR) $(1)/usr/bin/pyletmecreate_examples/
41+ $(CP) $(PKG_BUILD_DIR)/examples/*.py $(1)/usr/bin/pyletmecreate_examples/
42+
43+ $(INSTALL_DIR) $(1)/usr/lib/python3.5/site-packages/
44+ $(CP) $(PKG_BUILD_DIR)/letmecreate $(1)/usr/lib/python3.5/site-packages/
45+ endef
46+
47+ $(eval $(call BuildPackage,python3-letmecreate))
You can’t perform that action at this time.
0 commit comments