Merge pull request #4853 from StevenHessing/noddos
[feed/packages.git] / utils / mktorrent / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mktorrent
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=1
13 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
14 PKG_LICENSE:=GPL-2.0
15 PKG_LICENSE_FILES:=COPYING
16
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18 PKG_SOURCE_URL:=http://downloads.sourceforge.net/$(PKG_NAME)/
19 PKG_HASH:=6f8e562af6366e0d9bde76e434f740b55722c6c3c555860dbe80083f9d1d119f
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/mktorrent
24 SUBMENU:=BitTorrent
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=mktorrent
28 URL:=http://mktorrent.sourceforge.net/
29 endef
30
31 define Package/mktorrent/Description
32 mktorrent is a simple command line utility to create BitTorrent metainfo files.
33 endef
34
35
36 define Package/mktorrent/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mktorrent $(1)/usr/bin
39 endef
40
41 $(eval $(call BuildPackage,mktorrent))