blob: 4afbba4b75dd96322cbcc10bf10e2336d73b1499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mktorrent
PKG_VERSION:=1.1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/Rudde/$(PKG_NAME)
PKG_SOURCE_VERSION:=b20ef699b4ee5ded2f078ead776c7deac969e19a
PKG_MIRROR_HASH:=abe5f96d1a91c00bd6dcf86640a205583e8607d2b0e9299a588cec76c556a8e8
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
define Package/mktorrent
SUBMENU:=BitTorrent
SECTION:=net
CATEGORY:=Network
TITLE:=mktorrent
URL:=https://github.com/Rudde/mktorrent
endef
define Package/mktorrent/Description
mktorrent is a simple command line utility to create BitTorrent metainfo files.
endef
define Package/mktorrent/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mktorrent $(1)/usr/bin
endef
$(eval $(call BuildPackage,mktorrent))
|