From c78116160761b6498cd677cfbcd1017105efe1d3 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 13 Mar 2012 19:41:25 +0000 Subject: [PATCH] packages/remind: powerful commandline reminder [juhosg: remove SVN keywords, add license header, change package version to 3.01.12] Signed-off-by: Xiangfu git-svn-id: svn://svn.openwrt.org/openwrt/packages@30934 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/remind/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 utils/remind/Makefile diff --git a/utils/remind/Makefile b/utils/remind/Makefile new file mode 100644 index 000000000..8f28b3cc4 --- /dev/null +++ b/utils/remind/Makefile @@ -0,0 +1,45 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=remind +PKG_VERSION:=03.01.12 +PKG_RELEASE:=1 + +PKG_SOURCE:=remind-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.roaringpenguin.com/files/download/ +PKG_MD5SUM:=de16cbfc3ee94defcb1abdf78b2ebcd1 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/remind-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/remind + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Reminder + URL:=http://www.roaringpenguin.com/files/download/ +endef + +define Package/remind/description + Remind is a powerfull commadline reminder. +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --prefix=/usr --with-linux-headers="$(LINUX_DIR)" \ + ) +endef + +define Package/remind/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/remind $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rem2ps $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/www/rem2html $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,remind))