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.

46 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=taskwarrior
  9. PKG_VERSION:=2.5.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=task-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://www.taskwarrior.org/download
  13. PKG_HASH:=d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/task-$(PKG_VERSION)
  15. PKG_MAINTAINER:=
  16. PKG_LICENSE:=MIT
  17. PKG_LICENSE_FILES:=LICENSE
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_INSTALL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/cmake.mk
  22. define Package/taskwarrior
  23. TITLE:=taskwarrior
  24. SECTION:=utils
  25. CATEGORY:=Utilities
  26. DEPENDS:=+libstdcpp +libuuid +libgnutls
  27. URL:=https://taskwarrior.org/
  28. endef
  29. define Package/taskwarrior/description
  30. taskwarrior is a command-line todo list manager
  31. endef
  32. define Package/taskwarrior/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/task $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,taskwarrior))