aboutsummaryrefslogtreecommitdiff
path: root/python-periphery/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'python-periphery/Makefile')
-rw-r--r--python-periphery/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/python-periphery/Makefile b/python-periphery/Makefile
new file mode 100644
index 0000000..7547568
--- /dev/null
+++ b/python-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:=python-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, python-package.mk)
+
+define Package/python-periphery
+ SECTION:=language-python
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=python-periphery
+ URL:=http://python.sourceforge.net/
+ DEPENDS:=+python
+endef
+
+define Build/Compile
+ $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
+endef
+
+$(eval $(call PyPackage,python-periphery))
+$(eval $(call BuildPackage,python-periphery))