aboutsummaryrefslogtreecommitdiff
path: root/python3-periphery
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-06-17 11:21:28 +0200
committerKarel Kočí <cynerd@email.cz>2017-06-17 11:21:28 +0200
commitfec04aaf98925c904a44c9ac99388b9e0355017f (patch)
tree6481e8b93b3b5a8bbe4d62eef560218aa4a221ed /python3-periphery
parent74fea106069cd50c05ba076ee369812b917c5ee7 (diff)
downloadturris-myrepo-fec04aaf98925c904a44c9ac99388b9e0355017f.tar.gz
turris-myrepo-fec04aaf98925c904a44c9ac99388b9e0355017f.tar.bz2
turris-myrepo-fec04aaf98925c904a44c9ac99388b9e0355017f.zip
Add TMP packages (to be moved to test)
Diffstat (limited to 'python3-periphery')
-rw-r--r--python3-periphery/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/python3-periphery/Makefile b/python3-periphery/Makefile
new file mode 100644
index 0000000..23907ca
--- /dev/null
+++ b/python3-periphery/Makefile
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2017 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python3-periphery
+PKG_VERSION:=v1.1.0
+PKG_RELEASE:=1
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENCE.txt
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/vsergeev/python-periphery.git
+PKG_SOURCE_VERSION:=$(PKG_VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python3-package.mk)
+
+define Package/python3-periphery
+ SECTION:=language-python
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=python3-periphery
+ URL:=http://python.sourceforge.net/
+ DEPENDS:=+python3
+endef
+
+define Build/Compile
+ $(call Build/Compile/Py3Mod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
+endef
+
+$(eval $(call Py3Package,python3-periphery))
+$(eval $(call BuildPackage,python3-periphery))