packages/calcurse: fullscreen curses based calendar
authorGabor Juhos <juhosg@openwrt.org>
Tue, 13 Mar 2012 19:41:21 +0000 (19:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 13 Mar 2012 19:41:21 +0000 (19:41 +0000)
Signed-off-by: Xiangfu <xiangfu.z@gmail.com>
SVN-Revision: 30931

utils/calcurse/Makefile [new file with mode: 0644]

diff --git a/utils/calcurse/Makefile b/utils/calcurse/Makefile
new file mode 100644 (file)
index 0000000..f20dd88
--- /dev/null
@@ -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))