From e15a7056c143b816d7cbd90358f26b0f66254995 Mon Sep 17 00:00:00 2001 From: Neil Stockbridge Date: Wed, 18 May 2011 16:25:21 +1200 Subject: [PATCH] There is now a ( very simple) man page viewer that supports MANPATH --- man-tiny/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 man-tiny/Makefile diff --git a/man-tiny/Makefile b/man-tiny/Makefile new file mode 100644 index 0000000..ec15ad3 --- /dev/null +++ b/man-tiny/Makefile @@ -0,0 +1,42 @@ +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=man-tiny +PKG_VERSION:=20110518 +PKG_REV:=4b5bd45caa1ddd157e54197578b0b4f6a17d05bb +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=git://projects.qi-hardware.com/man-tiny.git +PKG_SOURCE_PROTO:=git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) + +include $(INCLUDE_DIR)/package.mk + +define Package/man-tiny + TITLE:=Man page viewer + SECTION:=utilities + CATEGORY:=Utilities + URL:=http://projects.qi-hardware.com/index.php/p/man-tiny/ + DEPENDS:=+mandoc +endef + +define Package/man-tiny/description + An extremely simple man page viewer that uses mandoc +endef + +define Package/man-tiny/install + $(INSTALL_DIR) \ + $(1)/usr/bin/ + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/src/man \ + $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,man-tiny))