暫無描述

Makefile 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.4
  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:=517450c4a23a5842df3e9905b38801b3
  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))