From 461384d0fbf30411252b5545f73fd9b466925306 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 14 Oct 2011 20:41:01 +0800 Subject: [PATCH] new package: Taskwarrior is a command-line todo list manager --- task/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 task/Makefile diff --git a/task/Makefile b/task/Makefile new file mode 100644 index 0000000..7a0eab3 --- /dev/null +++ b/task/Makefile @@ -0,0 +1,34 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk +PKG_NAME:=task +PKG_VERSION:=1.9.4 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.taskwarrior.org/download/ +PKG_BUILD_DIR:=$(BUILD_DIR)/task-$(PKG_VERSION) + +PKG_RELEASE:=1 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/task + MAINTAINER:="Xiangfu Liu" + TITLE:=Taskwarrior + SECTION:=utils + CATEGORY:=Utilities + URL:=http://taskwarrior.org/projects/show/taskwarrior +endef + +define Package/task/description +Taskwarrior is a command-line todo list manager. +endef + +define Package/task/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/task $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,task))