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.3
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=task-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://www.taskwarrior.org/download
  13. PKG_HASH:=7243d75e0911d9e2c9119ad94a61a87f041e4053e197f7280c42410aa1ee963b
  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))