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.

41 lines
986 B

  1. #
  2. # Copyright (C) 2006-2014 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:=mktorrent
  9. PKG_VERSION:=1.0
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=v$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=https://github.com/Rudde/$(PKG_NAME)/archive
  16. PKG_HASH:=ab1c42a7fc9f136d4ebc5535d384d1a184cc77fe8054acd4c2f176f3a8c0dac7
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/mktorrent
  19. SUBMENU:=BitTorrent
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=mktorrent
  23. URL:=https://github.com/Rudde/mktorrent
  24. endef
  25. define Package/mktorrent/Description
  26. mktorrent is a simple command line utility to create BitTorrent metainfo files.
  27. endef
  28. define Package/mktorrent/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mktorrent $(1)/usr/bin
  31. endef
  32. $(eval $(call BuildPackage,mktorrent))