You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=leech
  3. PKG_VERSION:=1.7
  4. PKG_RELEASE:=1
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL:=https://bitbucket.org/alekseyt/leech.git
  7. PKG_SOURCE_DATE:=2019-07-17
  8. PKG_SOURCE_VERSION:=2378e7348a8ac8ed23b6d29be81dc3a73080d920
  9. PKG_MIRROR_HASH:=04ca1d1f2cf614edf871360c1adbc758d9b85b67296af438449367c068ce5320
  10. PKG_MAINTAINER:=Leong Hui Wong <wong.leonghui@gmail.com>
  11. PKG_LICENSE:=blessing
  12. PKG_LICENSE_FILES:=COPYING
  13. PKG_BUILD_PARALLEL:=1
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/leech
  16. SECTION:=net
  17. CATEGORY:=Network
  18. SUBMENU:=Download Manager
  19. TITLE:=RSS-feeds parser/files downloader
  20. URL:=https://bitbucket.org/alekseyt/leech/
  21. DEPENDS:=+xsltproc +curl
  22. endef
  23. define Package/leech/description
  24. leech downloads files for you if you give it RSS-feeds of your favorite
  25. trackers. Configuration files are under /etc/leech.
  26. endef
  27. define Build/Compile
  28. endef
  29. define Package/leech/install
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/sbin/* $(1)/usr/sbin
  32. $(INSTALL_DIR) $(1)/etc/leech
  33. $(INSTALL_CONF) $(PKG_BUILD_DIR)/config/* $(1)/etc/leech
  34. $(INSTALL_DIR) $(1)/usr/share/leech
  35. $(INSTALL_DATA) $(PKG_BUILD_DIR)/share/leech/* $(1)/usr/share/leech
  36. endef
  37. define Package/leech/conffiles
  38. /etc/leech/default
  39. /etc/leech/downloads
  40. /etc/leech/foods
  41. /etc/leech/wild-downloads
  42. /etc/leech/reverse-downloads
  43. endef
  44. $(eval $(call BuildPackage,leech))