2012-03-13 19:41:23 +00:00
|
|
|
#
|
2012-06-10 00:23:08 +00:00
|
|
|
# Copyright (C) 2012 OpenWrt.org
|
|
|
|
#
|
2012-03-13 19:41:23 +00:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
2012-06-10 00:23:08 +00:00
|
|
|
# See /LICENSE for more information.
|
2012-03-13 19:41:23 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
2012-06-10 00:23:08 +00:00
|
|
|
|
2012-03-13 19:41:23 +00:00
|
|
|
PKG_NAME:=taskwarrior
|
2012-06-10 00:23:08 +00:00
|
|
|
PKG_VERSION:=2.0.0
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2012-03-13 19:41:23 +00:00
|
|
|
PKG_SOURCE:=task-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.taskwarrior.org/download/
|
2012-06-10 00:23:08 +00:00
|
|
|
PKG_MD5SUM:=b850b49f8b69bb4049c07d0914a0f7af
|
2012-03-13 19:41:23 +00:00
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2012-06-10 00:23:08 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/task-$(PKG_VERSION)
|
|
|
|
|
2012-03-13 19:41:23 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2012-06-10 00:23:08 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2012-03-13 19:41:23 +00:00
|
|
|
|
|
|
|
define Package/taskwarrior
|
2012-06-10 00:23:08 +00:00
|
|
|
TITLE:=taskwarrior
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2012-06-12 23:47:40 +00:00
|
|
|
DEPENDS:=+libncurses +libstdcpp
|
2012-06-10 00:23:08 +00:00
|
|
|
URL:=http://taskwarrior.org/projects/show/taskwarrior
|
|
|
|
MAINTAINER:=Xiangfu Liu <xiangfu@sharism.cc>
|
2012-03-13 19:41:23 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/taskwarrior/description
|
2012-06-10 00:23:08 +00:00
|
|
|
taskwarrior is a command-line todo list manager
|
2012-03-13 19:41:23 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/taskwarrior/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/task $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,taskwarrior))
|