Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- mktorrent/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 mktorrent/Makefile
diff --git a/mktorrent/Makefile b/mktorrent/Makefile new file mode 100644 index 0000000..0ed65bd --- /dev/null +++ b/mktorrent/Makefile @@ -0,0 +1,38 @@ +# +# 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.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://downloads.sourceforge.net/$(PKG_NAME)/ +PKG_MD5SUM:=0da00209da96a0dc39efbb6eb5b4d8ff + +include $(INCLUDE_DIR)/package.mk + +define Package/mktorrent + SUBMENU:=BitTorrent + SECTION:=net + CATEGORY:=Network + TITLE:=mktorrent + URL:=http://mktorrent.sourceforge.net/ +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)) -- 1.9.3
pgpBzdgw9KLnD.pgp
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel