ffmpeg: Add choices to libffmpeg-custom to select and build CLI programs
[feed/packages.git] / lang / python / pytz / Makefile
1 #
2 # Copyright (C) 2007-2018 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pytz
11 PKG_VERSION:=2018.6
12 PKG_RELEASE:=1
13 PKG_LICENSE:=MIT
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pytz
17 PKG_HASH:=642253af8eae734d1509fc6ac9c1aee5e5b69d76392660889979b9870610a46b
18
19 include $(INCLUDE_DIR)/package.mk
20 include ../python-package.mk
21
22 define Package/pytz
23 SUBMENU:=Python
24 SECTION:=lang
25 CATEGORY:=Languages
26 MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
27 TITLE:=World timezone definitions, modern and historical
28 URL:=https://sourceforge.net/projects/pytz/
29 DEPENDS:=+python
30 endef
31
32 define Package/pytz/description
33 World timezone definitions, modern and historical
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
38 endef
39
40 define Package/pytz/InstallDev
41 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
42 $(CP) \
43 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
44 $(1)$(PYTHON_PKG_DIR)
45 endef
46
47 define Package/pytz/install
48 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
49 $(CP) \
50 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
51 $(1)$(PYTHON_PKG_DIR)
52 endef
53
54 $(eval $(call BuildPackage,pytz))