prometheus-node-exporter-lua: add dawn exporter
[feed/packages.git] / multimedia / youtube-dl / Makefile
1 #
2 # Copyright (C) 2015 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:=youtube-dl
11 PKG_VERSION:=2020.5.8
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=youtube_dl
15 PKG_HASH:=22da6788b55b7b267c6d59bcdfaf10e67a9ac980976d50d29a670473ad2a05bb
16
17 PKG_MAINTAINER:=Adrian Panella <ianchi74@outlook.com>, Josef Schlehofer <pepe.schlehofer@gmail.com>
18 PKG_LICENSE:=Unlicense
19 PKG_LICENSE_FILES:=LICENSE
20
21 include ../../lang/python/pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../../lang/python/python3-package.mk
24
25 define Package/youtube-dl
26 SECTION:=multimedia
27 CATEGORY:=Multimedia
28 TITLE:=Utility to download videos from YouTube.com
29 URL:=https://yt-dl.org
30 DEPENDS:= \
31 +ca-certificates \
32 +python3 \
33 +python3-email \
34 +python3-xml \
35 +python3-codecs \
36 +python3-ctypes \
37 +python3-setuptools
38 endef
39
40 define Package/youtube-dl/description
41 youtube-dl is a small command-line program to download videos
42 from YouTube.com and other video sites.
43 It requires the Python3 interpreter.
44 endef
45
46 $(eval $(call Py3Package,youtube-dl))
47 $(eval $(call BuildPackage,youtube-dl))
48 $(eval $(call BuildPackage,youtube-dl-src))