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.

39 lines
919 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_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://downloads.sourceforge.net/$(PKG_NAME)/
  14. PKG_MD5SUM:=0da00209da96a0dc39efbb6eb5b4d8ff
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/mktorrent
  17. SUBMENU:=BitTorrent
  18. SECTION:=net
  19. CATEGORY:=Network
  20. TITLE:=mktorrent
  21. URL:=http://mktorrent.sourceforge.net/
  22. endef
  23. define Package/mktorrent/Description
  24. mktorrent is a simple command line utility to create BitTorrent metainfo files.
  25. endef
  26. define Package/mktorrent/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mktorrent $(1)/usr/bin
  29. endef
  30. $(eval $(call BuildPackage,mktorrent))