lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (967B)


      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_MD5SUM:=0da00209da96a0dc39efbb6eb5b4d8ff
     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))