taskwarrior: import from old-packages
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
ec2d4aeebd
commit
44cb084378
1 changed files with 48 additions and 0 deletions
48
utils/taskwarrior/Makefile
Normal file
48
utils/taskwarrior/Makefile
Normal file
|
@ -0,0 +1,48 @@
|
|||
#
|
||||
# Copyright (C) 2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=taskwarrior
|
||||
PKG_VERSION:=2.4.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
|
||||
PKG_SOURCE:=task-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.taskwarrior.org/download/
|
||||
PKG_MD5SUM:=de4b64b3d28bb9636af219a486552cd0
|
||||
PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/task-$(PKG_VERSION)
|
||||
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/taskwarrior
|
||||
TITLE:=taskwarrior
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libstdcpp +libuuid +libgnutls
|
||||
URL:=http://taskwarrior.org/
|
||||
endef
|
||||
|
||||
TARGET_LDFLAGS += -ldl
|
||||
|
||||
define Package/taskwarrior/description
|
||||
taskwarrior is a command-line todo list manager
|
||||
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))
|
Loading…
Reference in a new issue