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.

44 lines
1.1 KiB

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