Makefile 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=http://downloads.sourceforge.net/$(PKG_NAME)/
  16. PKG_MD5SUM:=0da00209da96a0dc39efbb6eb5b4d8ff
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/mktorrent
  19. SUBMENU:=BitTorrent
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=mktorrent
  23. URL:=http://mktorrent.sourceforge.net/
  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))