From: Gabor Juhos Date: Tue, 13 Mar 2012 19:41:21 +0000 (+0000) Subject: packages/calcurse: fullscreen curses based calendar X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ed13cf0513cc20ddcd515e99b2aaa71df2b52366;p=openwrt%2Fsvn-archive%2Farchive.git packages/calcurse: fullscreen curses based calendar Signed-off-by: Xiangfu SVN-Revision: 30931 --- diff --git a/utils/calcurse/Makefile b/utils/calcurse/Makefile new file mode 100644 index 0000000000..f20dd88347 --- /dev/null +++ b/utils/calcurse/Makefile @@ -0,0 +1,39 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=calcurse +PKG_VERSION:=2.8 +PKG_RELEASE:=1 + +PKG_SOURCE:=get.cgi?calcurse-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://culot.org/cgi-bin +PKG_MD5SUM:=124d40c0912b12021996220f02b759cc +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/calcurse-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/calcurse + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Calcurse + DEPENDS:=+libncurses +libreadline + URL:=http://culot.org/calcurse +endef + +define Package/calcurse/description + Fullscreen curses based calendar. +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --prefix=/usr \ + ) +endef + +define Package/calcurse/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/calcurse $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,calcurse))