packages/remind: powerful commandline reminder
authorGabor Juhos <juhosg@openwrt.org>
Tue, 13 Mar 2012 19:41:25 +0000 (19:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 13 Mar 2012 19:41:25 +0000 (19:41 +0000)
[juhosg: remove SVN keywords, add license header, change package version
to 3.01.12]

Signed-off-by: Xiangfu <xiangfu.z@gmail.com>
SVN-Revision: 30934

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

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