You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=youtube-dl
  9. PKG_VERSION:=2016.08.13
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://yt-dl.org/downloads/$(PKG_VERSION)/
  13. PKG_MD5SUM:=cd50b7e3df1d63b86fae0b6fa5e05a2f
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  15. PKG_LICENSE:=Unlicense
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_MAINTAINER:=Adrian Panella <ianchi74@outlook.com>
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/youtube-dl
  20. SECTION:=multimedia
  21. CATEGORY:=Multimedia
  22. TITLE:=utility to download videos from YouTube.com
  23. DEPENDS:=+python-openssl +python-email +python-xml +python-codecs +python-ctypes +ca-certificates
  24. URL:=https://youtube-dl.org
  25. endef
  26. define Package/youtube-dl/description
  27. youtube-dl is a small command-line program to download videos
  28. from YouTube.com and a few more sites.
  29. It requires the Python interpreter.
  30. endef
  31. define Package/youtube-dl/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_BUILD_DIR)/youtube-dl $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,youtube-dl))