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.

48 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.4.0
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=MIT
  12. PKG_SOURCE:=task-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://www.taskwarrior.org/download/
  14. PKG_MD5SUM:=de4b64b3d28bb9636af219a486552cd0
  15. PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/task-$(PKG_VERSION)
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/taskwarrior
  22. TITLE:=taskwarrior
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. DEPENDS:=+libstdcpp +libuuid +libgnutls
  26. URL:=http://taskwarrior.org/
  27. endef
  28. TARGET_LDFLAGS += -ldl
  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))