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
11 PKG_VERSION
:=2016.04.06
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://youtube-dl.org
/downloads
/$(PKG_VERSION
)/
16 PKG_MD5SUM
:=6457b915a6df78deb6e730cc425f9695
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
19 PKG_LICENSE
:=Unlicense
20 PKG_LICENSE_FILES
:=LICENSE
21 PKG_MAINTAINER
:=Adrian Panella
<ianchi74@outlook.com
>
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/youtube-dl
29 TITLE
:=utility to download videos from YouTube.com
30 DEPENDS
:=+python-openssl
31 URL
:=https
://youtube-dl.org
34 define Package
/youtube-dl
/description
35 youtube-dl is a small command-line program to download videos
36 from YouTube.com and a few more sites.
37 It requires the Python interpreter.
40 define Package
/youtube-dl
/install
41 $(INSTALL_DIR
) $(1)/usr
/bin
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/youtube-dl
$(1)/usr
/bin
/
45 $(eval
$(call BuildPackage
,youtube-dl
))