2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=youtube_dl-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://files.pythonhosted.org
/packages
/source
/y
/youtube_dl
/
16 PKG_HASH
:=d8250c9fedea3bcf5c2df62012e9814c96db53540a2842b8f8345885adfd0a85
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/youtube_dl-
$(PKG_VERSION
)
20 PKG_LICENSE
:=Unlicense
21 PKG_LICENSE_FILES
:=LICENSE
22 PKG_MAINTAINER
:=Adrian Panella
<ianchi74@outlook.com
>, Josef Schlehofer
<pepe.schlehofer@gmail.com
>
24 include $(INCLUDE_DIR
)/package.mk
25 include ..
/..
/lang
/python
/python3-package.mk
27 define Package
/youtube-dl
/Default
30 TITLE
:=Utility to download videos from YouTube.com
31 DEPENDS
:=+ca-certificates
32 URL
:=https
://yt-dl.org
35 define Package
/youtube-dl
/description
36 youtube-dl is a small command-line program to download videos
37 from YouTube.com and other video sites.
38 It requires the Python3 interpreter.
41 define Package
/youtube-dl
42 $(call Package
/youtube-dl
/Default
)
44 +PACKAGE_youtube-dl
:python3 \
45 +PACKAGE_youtube-dl
:python3-email \
46 +PACKAGE_youtube-dl
:python3-xml \
47 +PACKAGE_youtube-dl
:python3-codecs \
48 +PACKAGE_youtube-dl
:python3-ctypes
52 $(eval
$(call Py3Package
,youtube-dl
))
53 $(eval
$(call BuildPackage
,youtube-dl
))
54 $(eval
$(call BuildPackage
,youtube-dl-src
))